lose #25373: Fix regrtest --slow with interrupted test

This commit is contained in:
Victor Stinner 2015-10-11 10:39:56 +02:00
parent b45c0f7e48
commit 0c886f740b
1 changed files with 2 additions and 1 deletions

View File

@ -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: