Commit 3731bbe8 authored by Victor Stinner's avatar Victor Stinner

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.
parent 334536fb
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment