diff --git a/.travis.yml b/.travis.yml index d52ed0920..04f6473ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,3 +45,8 @@ jobs: python: 3.5 install: pip install -U git+git://github.com/python/mypy@0a05e61a script: ./tests/stubtest_test.py + allow_failures: + - name: "stubtest py39" + python: 3.9-dev + install: pip install -U git+git://github.com/python/mypy + script: ./tests/stubtest_test.py diff --git a/tests/mypy_test.py b/tests/mypy_test.py index 4fae05b3b..5b36c2f54 100755 --- a/tests/mypy_test.py +++ b/tests/mypy_test.py @@ -90,7 +90,7 @@ def main(): print("Cannot import mypy. Did you install it?") sys.exit(1) - versions = [(3, 8), (3, 7), (3, 6), (3, 5), (2, 7)] + versions = [(3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (2, 7)] if args.python_version: versions = [v for v in versions if any(('%d.%d' % v).startswith(av) for av in args.python_version)] diff --git a/tests/stubtest_whitelists/py39.txt b/tests/stubtest_whitelists/py39.txt new file mode 100644 index 000000000..e69de29bb