We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9564a8 commit a4239e5Copy full SHA for a4239e5
mypy/test/testpep561.py
@@ -76,6 +76,11 @@ def test_pep561(testcase: DataDrivenTestCase) -> None:
76
assert testcase.old_cwd is not None, "test was not properly set up"
77
python = sys.executable
78
79
+ if sys.version_info <= (3, 7) and testcase.location[-1] == "testTypedPkgSimpleEditable":
80
+ # Python 3.7 doesn't ship with new enough pip to support PEP 660
81
+ # This is a quick hack to skip the test; we'll drop Python 3.7 support soon enough
82
+ return
83
+
84
assert python is not None, "Should be impossible"
85
pkgs, pip_args = parse_pkgs(testcase.input[0])
86
mypy_args = parse_mypy_args(testcase.input[1])
0 commit comments