Skip to content

Commit 714d6c3

Browse files
committed
unskip
1 parent 32f0502 commit 714d6c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy/test/testparse.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def run_case(self, testcase: DataDrivenTestCase) -> None:
9292
def test_parse_error(testcase: DataDrivenTestCase) -> None:
9393
try:
9494
options = parse_options("\n".join(testcase.input), testcase, 0)
95+
if options.python_version < defaults.PYTHON3_VERSION:
96+
options.python_version = defaults.PYTHON3_VERSION
9597
if options.python_version != sys.version_info[:2]:
9698
skip()
9799
# Compile temporary file. The test file contains non-ASCII characters.

0 commit comments

Comments
 (0)