Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/test_utils/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@ def run_test(
print(output.read())
output.seek(0)

# change in way skipped tested counted from Python 3.12.1 onwards
# change in way skipped tested counted in Python 3.12.1 only (so far)
# This was changed and then reverted in 3.12.2
# https://github.com/python/cpython/pull/114994
tests_run_and_skipped = results.testsRun
if sys.version_info.minor >= 13 or (
sys.version_info.minor == 12 and sys.version_info.micro >= 1
):
if sys.version_info.minor == 12 and sys.version_info.micro == 1:
tests_run_and_skipped += len(results.skipped)

results = {
Expand Down