Skip to content

Commit 96b6aa7

Browse files
committed
tests: Remap 3.14.0-rc.3 to 3.14.0rc3
1 parent 165d9d3 commit 96b6aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
import sys, sysconfig
2525
version = sys.version_info[:2]
26-
expected_version = tuple(map(int, "${{ matrix.python-version }}".removeprefix("pypy").removesuffix("t").split(".")))
26+
expected_version = tuple(map(int, "${{ matrix.python-version }}".removeprefix("pypy").removesuffix("t").replace("-a.", "a").replace("-b.", "b").replace("-rc.", "rc").split(".")))
2727
if version != expected_version:
2828
print(f"::error title=Test Failure::The Python version does not match. Got {version}, expected {expected_version}.")
2929
sys.exit(1)

0 commit comments

Comments
 (0)