testtools: Merge in new upstream.
[nivanova/samba-autobuild/.git] / lib / testtools / testtools / run.py
index da4496a0c08b22dd9a8c3b5d0871b2980a895a58..272992cd05bd5ad8eae8e023b08605d3b75ce091 100755 (executable)
@@ -132,6 +132,8 @@ class TestProgram(object):
             self.module = module
         if argv is None:
             argv = sys.argv
+        if stdout is None:
+            stdout = sys.stdout
 
         self.exit = exit
         self.failfast = failfast