Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stubtest: update version, whitelists #4088

Merged
merged 1 commit into from May 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -31,22 +31,22 @@ jobs:
script: flake8
- name: "stubtest py38"
python: 3.8
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
- name: "stubtest py37"
python: 3.7
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
- name: "stubtest py36"
python: 3.6
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
- name: "stubtest py35"
python: 3.5
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
allow_failures:
- name: "stubtest py39"
python: 3.9-dev
install: pip install -U git+git://github.com/python/mypy
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
6 changes: 6 additions & 0 deletions tests/stubtest_whitelists/py35.txt
Expand Up @@ -20,6 +20,7 @@ cmath.log
codecs.StreamRecoder.seek
collections.Reversible
collections.UserString.maketrans
contextlib._GeneratorContextManager.__init__
ctypes.CDLL.__init__
decimal.Decimal.as_integer_ratio
fractions.Fraction.__new__ # private _normalize param was made keyword-only in Python 3.6
Expand All @@ -44,20 +45,24 @@ multiprocessing.context.BaseContext.reducer
multiprocessing.shared_memory
os.DirEntry
os.utime
plistlib.Dict.__init__
pyexpat.XMLParserType.ExternalEntityParserCreate
smtpd.SMTPChannel.__init__
smtpd.SMTPServer.__init__
socket.NETLINK_CRYPTO
sre_compile.dis
ssl.SSLSocket.__init__
typing.AbstractSet.isdisjoint
typing.Coroutine.cr_await
typing.Coroutine.cr_code
typing.Coroutine.cr_frame
typing.Coroutine.cr_running
typing.Generator.__new__
typing.Generator.gi_code
typing.Generator.gi_frame
typing.Generator.gi_running
typing.Generator.gi_yieldfrom
typing.GenericMeta.__new__
typing.Mapping.get
typing.MutableMapping.pop
typing.MutableMapping.setdefault
Expand All @@ -68,6 +73,7 @@ typing.MutableSequence.remove
typing.MutableSet.add
typing.MutableSet.discard
typing.MutableSet.remove
typing.NamedTuple.__new__
typing.Sequence.count
typing.Sequence.index
typing.runtime_checkable
Expand Down
6 changes: 6 additions & 0 deletions tests/stubtest_whitelists/py36.txt
Expand Up @@ -16,6 +16,7 @@ collections.abc.AsyncGenerator.ag_await
collections.abc.AsyncGenerator.ag_code
collections.abc.AsyncGenerator.ag_frame
collections.abc.AsyncGenerator.ag_running
contextlib._GeneratorContextManager.__init__
copy.PyStringMap
ctypes.CDLL.__init__
email.message.MIMEPart.as_string
Expand All @@ -37,10 +38,12 @@ logging.handlers.MemoryHandler.__init__
mmap.ACCESS_DEFAULT
multiprocessing.shared_memory
os.utime
plistlib.Dict.__init__
pyexpat.XMLParserType.ExternalEntityParserCreate
secrets.SystemRandom.getstate
smtplib.SMTP.sendmail
sre_compile.dis
ssl.SSLSocket.__init__
tkinter.Menu.tk_bindForTraversal
tkinter.Misc.tk_menuBar
typing.AbstractSet.isdisjoint
Expand All @@ -52,10 +55,12 @@ typing.Coroutine.cr_await
typing.Coroutine.cr_code
typing.Coroutine.cr_frame
typing.Coroutine.cr_running
typing.Generator.__new__
typing.Generator.gi_code
typing.Generator.gi_frame
typing.Generator.gi_running
typing.Generator.gi_yieldfrom
typing.GenericMeta.__new__
typing.Mapping.get
typing.MutableMapping.pop
typing.MutableMapping.setdefault
Expand All @@ -66,6 +71,7 @@ typing.MutableSequence.remove
typing.MutableSet.add
typing.MutableSet.discard
typing.MutableSet.remove
typing.NamedTuple.__new__
typing.Sequence.count
typing.Sequence.index
typing.runtime_checkable
Expand Down
3 changes: 3 additions & 0 deletions tests/stubtest_whitelists/py37.txt
Expand Up @@ -29,6 +29,7 @@ contextvars.Context.__init__
contextvars.Context.get
copy.PyStringMap
ctypes.CDLL.__init__
dataclasses.Field.__init__
dataclasses.field
email.message.MIMEPart.as_string
enum.Enum._generate_next_value_
Expand Down Expand Up @@ -59,6 +60,8 @@ tkinter.Misc.tk_menuBar
types.ClassMethodDescriptorType.__get__
types.MethodDescriptorType.__get__
types.WrapperDescriptorType.__get__
typing._SpecialForm.__init__
typing._SpecialForm.__new__
typing.runtime_checkable
unittest.async_case
urllib.parse.parse_qs
Expand Down
18 changes: 18 additions & 0 deletions tests/stubtest_whitelists/py38.txt
Expand Up @@ -3,6 +3,11 @@ _thread._ExceptHookArgs
_tracemalloc._get_object_traceback
_tracemalloc.start
_weakref.getweakrefcount
ast.Bytes.__new__
ast.Ellipsis.__new__
ast.NameConstant.__new__
ast.Num.__new__
ast.Str.__new__
asyncio.AbstractEventLoop.sock_sendfile
asyncio.Future.__init__
asyncio.Future._callbacks
Expand Down Expand Up @@ -63,6 +68,8 @@ contextvars.Context.get
contextvars.ContextVar.reset
contextvars.ContextVar.set
copy.PyStringMap
dataclasses.Field.__init__
dataclasses.InitVar.__init__
dataclasses.dataclass
dataclasses.field
dataclasses.replace
Expand Down Expand Up @@ -94,6 +101,7 @@ lzma.is_check_supported
macpath
macurl2path
mmap.MADV_[A-Z_]+
multiprocessing.managers.SharedMemoryServer.__init__
multiprocessing.pool.CLOSE
multiprocessing.pool.RUN
multiprocessing.pool.TERMINATE
Expand Down Expand Up @@ -138,6 +146,16 @@ types.ClassMethodDescriptorType.__get__
types.CodeType.replace
types.MethodDescriptorType.__get__
types.WrapperDescriptorType.__get__
typing.NamedTuple.__new__
typing.SupportsAbs.__init__
typing.SupportsBytes.__init__
typing.SupportsComplex.__init__
typing.SupportsFloat.__init__
typing.SupportsIndex.__init__
typing.SupportsInt.__init__
typing.SupportsRound.__init__
typing._SpecialForm.__init__
typing._SpecialForm.__new__
unittest.TestCase.addCleanup
unittest.case.TestCase.addCleanup
unittest.doModuleCleanups
Expand Down