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 32f0502 commit 714d6c3Copy full SHA for 714d6c3
mypy/test/testparse.py
@@ -92,6 +92,8 @@ def run_case(self, testcase: DataDrivenTestCase) -> None:
92
def test_parse_error(testcase: DataDrivenTestCase) -> None:
93
try:
94
options = parse_options("\n".join(testcase.input), testcase, 0)
95
+ if options.python_version < defaults.PYTHON3_VERSION:
96
+ options.python_version = defaults.PYTHON3_VERSION
97
if options.python_version != sys.version_info[:2]:
98
skip()
99
# Compile temporary file. The test file contains non-ASCII characters.
0 commit comments