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.
This commit is contained in:
Victor Stinner 2015-09-15 22:55:52 +02:00
parent 334536fb60
commit 3731bbe8b1
1 changed files with 1 additions and 1 deletions

View 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: