Skip to content

Commit 1e1a586

Browse files
authored
Update pytype_test to be compatible with the latest pytype version. (#8551)
We moved some files around =)
1 parent 2c05265 commit 1e1a586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
mypy==0.971
2-
pytype==2022.8.3; platform_system != "Windows"
2+
pytype==2022.8.17; platform_system != "Windows"
33
# must match .pre-commit-config.yaml
44
black==22.6.0
55
# must match .pre-commit-config.yaml

tests/pytype_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from collections.abc import Sequence
2020

2121
from pytype import config as pytype_config, load_pytd # type: ignore[import]
22-
from pytype.pytd import typeshed # type: ignore[import]
22+
from pytype.imports import typeshed # type: ignore[import]
2323

2424
TYPESHED_SUBDIRS = ["stdlib", "stubs"]
2525
TYPESHED_HOME = "TYPESHED_HOME"

0 commit comments

Comments
 (0)