mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 20:31:32 +08:00
travis: start testing 3.9 somewhat (#4071)
* travis: run stubtest on py39, allowing failures * travis: run mypy with python version 3.9 * boto.compat, base64: fix version handling of (en|de)codebytes * venv: fix #4010 Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)]
|
||||
|
||||
0
tests/stubtest_whitelists/py39.txt
Normal file
0
tests/stubtest_whitelists/py39.txt
Normal file
Reference in New Issue
Block a user