summaryrefslogtreecommitdiff
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-10-11 10:39:56 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-10-11 10:39:56 +0200
commit0c886f740b4947415031d4cb8816162aab9df399 (patch)
tree824abc1e32694cf42ab78808c60d5367f4af2d3b /Lib/test/regrtest.py
parentb45c0f7e4833615067dbe74c1e813fd1b45ce181 (diff)
downloadcpython-git-0c886f740b4947415031d4cb8816162aab9df399.tar.gz
lose #25373: Fix regrtest --slow with interrupted test
Diffstat (limited to 'Lib/test/regrtest.py')
-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 c246fe0308..dedfdfecb2 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: