From 86b2aaf6eeef7603c2e28db22f96e0607deec91c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 2 Oct 2020 21:27:08 -0700 Subject: [PATCH] Remove unused stubtest whitelist entries (#4598) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- tests/stubtest_whitelists/py38.txt | 1 - tests/stubtest_whitelists/py39.txt | 3 --- tests/stubtest_whitelists/py3_common.txt | 10 ---------- 3 files changed, 14 deletions(-) diff --git a/tests/stubtest_whitelists/py38.txt b/tests/stubtest_whitelists/py38.txt index d2a5f329a..fed31afa1 100644 --- a/tests/stubtest_whitelists/py38.txt +++ b/tests/stubtest_whitelists/py38.txt @@ -74,7 +74,6 @@ sre_constants.RANGE_IGNORE ssl.PROTOCOL_SSLv3 ssl.RAND_egd sys.UnraisableHookArgs -threading.ExceptHookArgs types.ClassMethodDescriptorType.__get__ types.CodeType.replace types.MethodDescriptorType.__get__ diff --git a/tests/stubtest_whitelists/py39.txt b/tests/stubtest_whitelists/py39.txt index 6efa287b7..3dc7a8ee6 100644 --- a/tests/stubtest_whitelists/py39.txt +++ b/tests/stubtest_whitelists/py39.txt @@ -34,8 +34,6 @@ collections.abc.ItemsView.__reversed__ collections.abc.KeysView.__reversed__ collections.abc.ValuesView.__reversed__ # pending merge of https://github.com/python/cpython/pull/22023 -concurrent.futures.Executor.shutdown -concurrent.futures._base.Executor.shutdown contextvars.Context.__init__ contextvars.Context.get copy.PyStringMap @@ -95,7 +93,6 @@ ssl.PROTOCOL_SSLv3 ssl.RAND_egd symtable.SymbolTable.has_exec sys.UnraisableHookArgs -threading.ExceptHookArgs time.CLOCK_PROF time.CLOCK_UPTIME types.ClassMethodDescriptorType.__get__ diff --git a/tests/stubtest_whitelists/py3_common.txt b/tests/stubtest_whitelists/py3_common.txt index 362b6c056..6ade2f693 100644 --- a/tests/stubtest_whitelists/py3_common.txt +++ b/tests/stubtest_whitelists/py3_common.txt @@ -416,23 +416,13 @@ zlib.compressobj # at runtime, they inherit Enum.__new__, not int.__new__ or # str.__new__ as the mro would dictate, which is why stubtest balks. enum.IntEnum.__new__ -enum.IntFlag.__new__ http.HTTPStatus.__new__ inspect._ParameterKind.__new__ -pstats.SortKey.__new__ -re.RegexFlag.__new__ signal.Handlers.__new__ signal.Sigmasks.__new__ signal.Signals.__new__ socket.AddressFamily.__new__ -socket.AddressInfo.__new__ -socket.MsgFlag.__new__ socket.SocketKind.__new__ -ssl.Options.__new__ -ssl.TLSVersion.__new__ -ssl.VerifyFlags.__new__ -ssl.VerifyMode.__new__ -tkinter.EventType.__new__ # ========== # Whitelist entries that cannot or should not be fixed