[Python-checkins] cpython (3.5): lose #25373: Fix regrtest --slow with interrupted test
victor.stinner
python-checkins at python.org
Sun Oct 11 04:41:12 EDT 2015
https://hg.python.org/cpython/rev/ef70e5373131
changeset: 98679:ef70e5373131
branch: 3.5
parent: 98676:d8737b841fcf
user: Victor Stinner <victor.stinner at gmail.com>
date: Sun Oct 11 10:39:56 2015 +0200
summary:
lose #25373: Fix regrtest --slow with interrupted test
files:
Lib/test/regrtest.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -659,7 +659,8 @@
def accumulate_result(test, result):
ok, test_time = result
- test_times.append((test_time, test))
+ if ok not in (CHILD_ERROR, INTERRUPTED):
+ test_times.append((test_time, test))
if ok == PASSED:
good.append(test)
elif ok == FAILED:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list