Skip to content

Commit 47b06fc

Browse files
Use the right format for options.python_version
1 parent 406ceed commit 47b06fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/test/testparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_parser(testcase: DataDrivenTestCase) -> None:
4646
elif testcase.file.endswith("python313.test"):
4747
options.python_version = (3, 13)
4848
else:
49-
options.python_version = sys.version_info
49+
options.python_version = sys.version_info[:2]
5050

5151
source = "\n".join(testcase.input)
5252

0 commit comments

Comments
 (0)