Skip to content

Commit dcde1aa

Browse files
committed
Use PYTHON3_VERSION_MIN
1 parent 2d53523 commit dcde1aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/test/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ 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)
264+
return max((3, int(m.group(1))), defaults.PYTHON3_VERSION_MIN)
265265
else:
266-
return defaults.PYTHON3_VERSION
266+
return defaults.PYTHON3_VERSION_MIN
267267

268268

269269
def normalize_error_messages(messages: list[str]) -> list[str]:

0 commit comments

Comments
 (0)