]> granicus.if.org Git - python/commitdiff
Issue #25122: test_eintr: don't redirect stdout to stderr
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 15 Sep 2015 20:55:52 +0000 (22:55 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 15 Sep 2015 20:55:52 +0000 (22:55 +0200)
sys.stderr is sometimes a StringIO. The redirection was just a hack to see
eintr_tester.py output in red in the buildbot output.

Lib/test/test_eintr.py

index 1d1d16e0ebc6964b494baa851369e5790afa6687..a1907e8d9811427aae16f62df81d6e982d11d27e 100644 (file)
@@ -20,7 +20,7 @@ class EINTRTests(unittest.TestCase):
         # FIXME: Issue #25122, always run in verbose mode to debug hang on FreeBSD
         if True: #support.verbose:
             args = [sys.executable, tester]
-            with subprocess.Popen(args, stdout=sys.stderr) as proc:
+            with subprocess.Popen(args) as proc:
                 exitcode = proc.wait()
             self.assertEqual(exitcode, 0)
         else: