Skip to content

Commit c14573a

Browse files
committed
pythongh-129363: Change regrtest sequential mode output
Always display the previous test, even if it passed in less than 30 seconds.
1 parent a25042e commit c14573a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/test/libregrtest/main.py

-3
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,6 @@ def run_tests_sequentially(self, runtests: RunTests) -> None:
427427
test_time = time.perf_counter() - start_time
428428
if test_time >= PROGRESS_MIN_TIME:
429429
previous_test = "%s in %s" % (previous_test, format_duration(test_time))
430-
elif result.state == State.PASSED:
431-
# be quiet: say nothing if the test passed shortly
432-
previous_test = None
433430

434431
if previous_test:
435432
print(previous_test)

0 commit comments

Comments
 (0)