summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_eintr.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-15 20:55:52 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-15 20:55:52 (GMT)
commit3731bbe8b10f7f31240fbffe7d9617365f7814dc (patch)
tree77ead698cc2a91b3285204065e42bbfd017d81b0 /Lib/test/test_eintr.py
parent334536fb60f30537970f5e7a28f64cd63e36bcfb (diff)
downloadcpython-3731bbe8b10f7f31240fbffe7d9617365f7814dc.zip
cpython-3731bbe8b10f7f31240fbffe7d9617365f7814dc.tar.gz
cpython-3731bbe8b10f7f31240fbffe7d9617365f7814dc.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_eintr.py')
-rw-r--r--Lib/test/test_eintr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py
index 1d1d16e..a1907e8 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: