summaryrefslogtreecommitdiff
path: root/Lib/test/test_eintr.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-28 15:04:11 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-09-28 15:04:11 +0200
commitff6ee25102acbfa61e30a410c3fc75311a3413f0 (patch)
treef316e3fcfdbf78ee65bb42a547e8d5bbccb7f29e /Lib/test/test_eintr.py
parent2cf2aacdcdeb87a12cd80e8b1d8dd4a14581b9f2 (diff)
downloadcpython-git-ff6ee25102acbfa61e30a410c3fc75311a3413f0.tar.gz
Issue #25122: Remove verbose mode of test_eintr
"./python -m test -W test_eintr" wrote Lib/test/eintrdata/eintr_tester.py output to stdout which was not expected. Since test_eintr doesn't hang anymore, remove the verbose mode instead.
Diffstat (limited to 'Lib/test/test_eintr.py')
-rw-r--r--Lib/test/test_eintr.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py
index aabad835a0..d3cdda04e6 100644
--- a/Lib/test/test_eintr.py
+++ b/Lib/test/test_eintr.py
@@ -16,14 +16,7 @@ class EINTRTests(unittest.TestCase):
# Run the tester in a sub-process, to make sure there is only one
# thread (for reliable signal delivery).
tester = support.findfile("eintr_tester.py", subdir="eintrdata")
-
- if support.verbose:
- args = [sys.executable, tester]
- with subprocess.Popen(args) as proc:
- exitcode = proc.wait()
- self.assertEqual(exitcode, 0)
- else:
- script_helper.assert_python_ok(tester)
+ script_helper.assert_python_ok(tester)
if __name__ == "__main__":