diff --git a/tests/pytype_blacklist.txt b/tests/pytype_blacklist.txt index 2266bc05e..3552f6d9a 100644 --- a/tests/pytype_blacklist.txt +++ b/tests/pytype_blacklist.txt @@ -1,11 +1,11 @@ # Pytype blacklist. Files will not be tested with pytype. -stdlib/2.7/__builtin__.pyi -stdlib/2.7/builtins.pyi -stdlib/2.7/types.pyi -stdlib/2.7/typing.pyi +stdlib/2/__builtin__.pyi +stdlib/2/builtins.pyi +stdlib/2/types.pyi +stdlib/2/typing.pyi stdlib/2and3/webbrowser.pyi # Because of 'from . import path': -stdlib/2.7/os/__init__.pyi +stdlib/2/os/__init__.pyi stdlib/3/os/__init__.pyi diff --git a/tests/pytype_test.py b/tests/pytype_test.py index 078ef5583..e7475c0be 100755 --- a/tests/pytype_test.py +++ b/tests/pytype_test.py @@ -70,7 +70,7 @@ def pytype_test(args): print("Cannot run pytd. Did you install pytype?") return 0, 0 - wanted = re.compile(r"stdlib/(2\.7|2and3)/.*\.pyi$") + wanted = re.compile(r"stdlib/(2|2\.7|2and3)/.*\.pyi$") skipped = re.compile("(%s)$" % "|".join(load_blacklist())) files = []