8000 Use PYTHON3_VERSION_MIN · python/mypy@0b70f03 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b70f03

Browse files
committed
Use PYTHON3_VERSION_MIN
1 parent 2d53523 commit 0b70f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/test/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def testfile_pyversion(path: str) -> tuple[int, int]:
261261
if m := re.search(r"python3([0-9]+)\.test$", path):
262262
# For older unsupported version like python38,
263263
# default to that earliest supported version.
264-
return max((3, int(m.group(1))), defaults.PYTHON3_VERSION)
4A27 264+
return max((3, int(m.group(1))), defaults.PYTHON3_VERSION_MIN)
265265
else:
266266
return defaults.PYTHON3_VERSION
267267

0 commit comments

Comments
 (0)
0