We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d53523 commit 0b70f03Copy full SHA for 0b70f03
mypy/test/helpers.py
@@ -261,7 +261,7 @@ def testfile_pyversion(path: str) -> tuple[int, int]:
261
if m := re.search(r"python3([0-9]+)\.test$", path):
262
# For older unsupported version like python38,
263
# default to that earliest supported version.
264
- return max((3, int(m.group(1))), defaults.PYTHON3_VERSION)
+ return max((3, int(m.group(1))), defaults.PYTHON3_VERSION_MIN)
265
else:
266
return defaults.PYTHON3_VERSION
267
0 commit comments