diff tests/test-demandimport.py @ 9174:705278e70457

Fix test-demandimport and test-trusted under Windows The Windows-only wrapper around stdout is causing both of these tests to fail. test-demandimport fails because it tries to print repr(sys.stdout). Use stderr instead since that is not wrapped. test-trusted fails because the wrapper doesn't handle softspace and an unexpected extra space gets printed.
author James Abbatiello <abbeyj at gmail.com>
date Tue, 14 Jul 2009 22:38:12 -0400
parents 807f3f5c60e9
children 4c50552fc9bc
line wrap: on
line diff
--- a/tests/test-demandimport.py	Fri Jul 17 13:31:12 2009 +0200
+++ b/tests/test-demandimport.py	Tue Jul 14 22:38:12 2009 -0400
@@ -36,5 +36,5 @@
 print "fred =", f(fred)
 
 print "re =", f(re)
-print "re.stdout =", f(re.stdout)
+print "re.stderr =", f(re.stderr)
 print "re =", f(re)