summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-10-11 08:39:56 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-10-11 08:39:56 (GMT)
commit0c886f740b4947415031d4cb8816162aab9df399 (patch)
tree824abc1e32694cf42ab78808c60d5367f4af2d3b
parentb45c0f7e4833615067dbe74c1e813fd1b45ce181 (diff)
downloadcpython-0c886f740b4947415031d4cb8816162aab9df399.zip
cpython-0c886f740b4947415031d4cb8816162aab9df399.tar.gz
cpython-0c886f740b4947415031d4cb8816162aab9df399.tar.bz2
lose #25373: Fix regrtest --slow with interrupted test
-rwxr-xr-xLib/test/regrtest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index c246fe0..dedfdfe 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -659,7 +659,8 @@ def main(tests=None, **kwargs):
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: