Skip to content

Commit 3326c57

Browse files
committed
Merge pull request #2715 from pygame-community/fix-test-runner-bug-reverssion
Adapt test runner count tweak to be 3.12.1 only
1 parent b40742d commit 3326c57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_utils/test_runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,11 @@ def run_test(
285285
print(output.read())
286286
output.seek(0)
287287

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

295295
results = {

0 commit comments

Comments
 (0)