Revision: 373 http://rpy.svn.sourceforge.net/rpy/?rev=373&view=rev Author: warnes Date: 2007-11-14 19:22:18 -0800 (Wed, 14 Nov 2007)
Log Message: ----------- Add code to test_io to return io redirection to initial state after each test Modified Paths: -------------- trunk/rpy/tests/test_io.py Modified: trunk/rpy/tests/test_io.py =================================================================== --- trunk/rpy/tests/test_io.py 2007-11-13 16:24:29 UTC (rev 372) +++ trunk/rpy/tests/test_io.py 2007-11-15 03:22:18 UTC (rev 373) @@ -17,6 +17,10 @@ def tearDown(self): sys.stdout = sys.__stdout__ sys.stderr = sys.__stderr__ + # reset i/o defaults + set_rpy_output(rpy_io.rpy_output) + set_rpy_input(rpy_io.rpy_input) + def testIOstdin(self): def dummy(prompt, n): 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list