Skip to content

Commit

Permalink
make it go away
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Jun 16, 2023
1 parent d9564a8 commit c8c2150
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mypy/test/testpep561.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ def test_pep561(testcase: DataDrivenTestCase) -> None:
assert testcase.old_cwd is not None, "test was not properly set up"
python = sys.executable

if sys.version_info < (3, 8) and testcase.location[-1] == "testTypedPkgSimpleEditable":
# Python 3.7 doesn't ship with new enough pip to support PEP 660
# This is a quick hack to skip the test; we'll drop Python 3.7 support soon enough
return

assert python is not None, "Should be impossible"
pkgs, pip_args = parse_pkgs(testcase.input[0])
mypy_args = parse_mypy_args(testcase.input[1])
Expand Down

0 comments on commit c8c2150

Please sign in to comment.