From: Victor Stinner Date: Tue, 15 Sep 2015 20:55:52 +0000 (+0200) Subject: Issue #25122: test_eintr: don't redirect stdout to stderr X-Git-Tag: v3.6.0a1~1541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3731bbe8b10f7f31240fbffe7d9617365f7814dc;p=python Issue #25122: test_eintr: don't redirect stdout to stderr sys.stderr is sometimes a StringIO. The redirection was just a hack to see eintr_tester.py output in red in the buildbot output. --- diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py index 1d1d16e0eb..a1907e8d98 100644 --- a/Lib/test/test_eintr.py +++ b/Lib/test/test_eintr.py @@ -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: