From ef5fd101566d79beaa8ded30f244b51cac6627c4 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sat, 7 Mar 2020 13:57:38 -0500 Subject: [PATCH 1/2] travis: update stubtest version Will need to wait for #3827 to be merged to prevent CI failures --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a24eb683fca..d52ed0920939 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,17 +31,17 @@ jobs: script: flake8 - name: "stubtest py38" python: 3.8 - install: pip install -U git+git://github.com/python/mypy@a07dbd00 + install: pip install -U git+git://github.com/python/mypy@0a05e61a script: ./tests/stubtest_test.py - name: "stubtest py37" python: 3.7 - install: pip install -U git+git://github.com/python/mypy@a07dbd00 + install: pip install -U git+git://github.com/python/mypy@0a05e61a script: ./tests/stubtest_test.py - name: "stubtest py36" python: 3.6 - install: pip install -U git+git://github.com/python/mypy@a07dbd00 + install: pip install -U git+git://github.com/python/mypy@0a05e61a script: ./tests/stubtest_test.py - name: "stubtest py35" python: 3.5 - install: pip install -U git+git://github.com/python/mypy@a07dbd00 + install: pip install -U git+git://github.com/python/mypy@0a05e61a script: ./tests/stubtest_test.py From 3ed9cdbf79b9040f89918915954aa837c227fab8 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sun, 15 Mar 2020 00:32:43 -0700 Subject: [PATCH 2/2] stubtest whitelists: add json.loads --- tests/stubtest_whitelists/py36.txt | 1 + tests/stubtest_whitelists/py37.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/stubtest_whitelists/py36.txt b/tests/stubtest_whitelists/py36.txt index 4addbbcd4197..f129662415c5 100644 --- a/tests/stubtest_whitelists/py36.txt +++ b/tests/stubtest_whitelists/py36.txt @@ -40,6 +40,7 @@ io.BufferedRandom.read1 io.BufferedReader.read1 io.StringIO.readline ipaddress._BaseNetwork.__init__ +json.loads logging.handlers.MemoryHandler.__init__ macpath.basename macpath.commonpath diff --git a/tests/stubtest_whitelists/py37.txt b/tests/stubtest_whitelists/py37.txt index 6a7f8cd6ebd7..feaaea552e7e 100644 --- a/tests/stubtest_whitelists/py37.txt +++ b/tests/stubtest_whitelists/py37.txt @@ -56,6 +56,7 @@ http.client.HTTPSConnection.__init__ http.server.SimpleHTTPRequestHandler.__init__ importlib.metadata ipaddress._BaseNetwork.__init__ +json.loads logging.handlers.MemoryHandler.__init__ macpath.basename macpath.commonpath