diff tests/run.py @ 630:093ae2915b45 1.1.2

Merge fix for pushable bookmarks.
author Augie Fackler <durin42@gmail.com>
date Tue, 06 Jul 2010 10:41:54 -0500
parents c38fe89a5cbc
children 95abc4cfc78f
line wrap: on
line diff
--- a/tests/run.py
+++ b/tests/run.py
@@ -70,7 +70,8 @@ if __name__ == '__main__':
         demandimport.enable()
 
     # silence output when running outside nose
-    sys.stdout = os.tmpfile()
+    import tempfile
+    sys.stdout = tempfile.TemporaryFile()
 
     all = tests()
     del all['test_util']