[Python-checkins] cpython: Issue #25122: Remove verbose mode of test_eintr
victor.stinner
python-checkins at python.org
Mon Sep 28 15:04:34 CEST 2015
https://hg.python.org/cpython/rev/e48ec5f5b82b
changeset: 98358:e48ec5f5b82b
parent: 98356:e863c8760501
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Sep 28 15:04:11 2015 +0200
summary:
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.
files:
Lib/test/test_eintr.py | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py
--- a/Lib/test/test_eintr.py
+++ b/Lib/test/test_eintr.py
@@ -16,14 +16,7 @@
# 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__":
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list