Revision: 581
http://rpy.svn.sourceforge.net/rpy/?rev=581&view=rev
Author: lgautier
Date: 2008-07-21 15:59:21 +0000 (Mon, 21 Jul 2008)
Log Message:
-----------
Restore default console print after testing it
Modified Paths:
--------------
branches/rpy_nextgen/rpy/rinterface/tests/test_EmbeddedR.py
Modified: branches/rpy_nextgen/rpy/rinterface/tests/test_EmbeddedR.py
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/tests/test_EmbeddedR.py 2008-07-21
15:58:20 UTC (rev 580)
+++ branches/rpy_nextgen/rpy/rinterface/tests/test_EmbeddedR.py 2008-07-21
15:59:21 UTC (rev 581)
@@ -18,7 +18,10 @@
code = rinterface.SexpVector(["3", ], rinterface.STRSXP)
rinterface.baseNameSpaceEnv["print"](code)
self.assertEquals('[1] "3"\n', str.join('', buf))
+ rinterface.setWriteConsole(rinterface.consolePrint)
+
+
def suite():
suite = unittest.TestLoader().loadTestsFromTestCase(EmbeddedRTestCase)
return suite
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list