Skip to content

Commit

Permalink
pythongh-129363: Change regrtest sequential mode output
Browse files Browse the repository at this point in the history
Always display the previous test, even if it passed in less than
30 seconds.
  • Loading branch information
vstinner committed Feb 5, 2025
1 parent a25042e commit c14573a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Lib/test/libregrtest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c14573a

Please sign in to comment.