mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
lose #25373: Fix regrtest --slow with interrupted test
This commit is contained in:
parent
b45c0f7e48
commit
0c886f740b
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue