diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-11 08:39:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-11 08:39:56 (GMT) |
commit | 0c886f740b4947415031d4cb8816162aab9df399 (patch) | |
tree | 824abc1e32694cf42ab78808c60d5367f4af2d3b | |
parent | b45c0f7e4833615067dbe74c1e813fd1b45ce181 (diff) | |
download | cpython-0c886f740b4947415031d4cb8816162aab9df399.zip cpython-0c886f740b4947415031d4cb8816162aab9df399.tar.gz cpython-0c886f740b4947415031d4cb8816162aab9df399.tar.bz2 |
lose #25373: Fix regrtest --slow with interrupted test
-rwxr-xr-x | Lib/test/regrtest.py | 3 |
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: |