Skip to content

Commit 01674fa

Browse files
Ensure a full test run includes python3.13t in the test matrix
1 parent a1b09e4 commit 01674fa

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

development-support/run-testsuite

+11-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,18 @@ def detect_pyversions():
3939

4040
result = []
4141
for ver in PY_VERSIONS:
42-
if os.path.exists(
43-
os.path.join("/Library/Frameworks/Python.framework/Versions", ver)
44-
):
42+
if ver.endswith('t'):
43+
if os.path.exists(
44+
os.path.join("/Library/Frameworks/PythonT.framework/Versions", ver[:-1])
45+
):
4546

46-
result.append(ver)
47+
result.append(ver)
48+
else:
49+
if os.path.exists(
50+
os.path.join("/Library/Frameworks/Python.framework/Versions", ver)
51+
):
52+
53+
result.append(ver)
4754

4855
_detected_versions = result
4956
return _detected_versions

0 commit comments

Comments
 (0)