From c14573a1c3014ccfd00115e2c264451dca69154e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 5 Feb 2025 13:59:58 +0100 Subject: [PATCH] gh-129363: Change regrtest sequential mode output Always display the previous test, even if it passed in less than 30 seconds. --- Lib/test/libregrtest/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index de377f185f7ed9..9f39868f9fd505 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -427,9 +427,6 @@ def run_tests_sequentially(self, runtests: RunTests) -> None: test_time = time.perf_counter() - start_time if test_time >= PROGRESS_MIN_TIME: previous_test = "%s in %s" % (previous_test, format_duration(test_time)) - elif result.state == State.PASSED: - # be quiet: say nothing if the test passed shortly - previous_test = None if previous_test: print(previous_test)