diff --git a/requirements-tests.txt b/requirements-tests.txt index 5c3f65989705..a29d4c5d9256 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,5 +1,5 @@ mypy==0.971 -pytype==2022.8.3; platform_system != "Windows" +pytype==2022.8.17; platform_system != "Windows" # must match .pre-commit-config.yaml black==22.6.0 # must match .pre-commit-config.yaml diff --git a/tests/pytype_test.py b/tests/pytype_test.py index 1b87d7d482c0..01a50d3d7459 100755 --- a/tests/pytype_test.py +++ b/tests/pytype_test.py @@ -19,7 +19,7 @@ from collections.abc import Sequence from pytype import config as pytype_config, load_pytd # type: ignore[import] -from pytype.pytd import typeshed # type: ignore[import] +from pytype.imports import typeshed # type: ignore[import] TYPESHED_SUBDIRS = ["stdlib", "stubs"] TYPESHED_HOME = "TYPESHED_HOME"