From 6f475bfc35065803d8cb279344bf3abe58f1240a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Sep 2020 00:49:31 -0700 Subject: [PATCH] Remove unused stubtest whitelist entries (#4512) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- tests/stubtest_whitelists/py37.txt | 1 - tests/stubtest_whitelists/py38.txt | 1 - tests/stubtest_whitelists/py39.txt | 11 ----------- tests/stubtest_whitelists/py3_common.txt | 10 ---------- 4 files changed, 23 deletions(-) diff --git a/tests/stubtest_whitelists/py37.txt b/tests/stubtest_whitelists/py37.txt index c13a921da..750255e54 100644 --- a/tests/stubtest_whitelists/py37.txt +++ b/tests/stubtest_whitelists/py37.txt @@ -22,7 +22,6 @@ collections.abc.AsyncGenerator.ag_await collections.abc.AsyncGenerator.ag_code collections.abc.AsyncGenerator.ag_frame collections.abc.AsyncGenerator.ag_running -concurrent.futures.ProcessPoolExecutor.map contextvars.Context.__init__ contextvars.Context.get copy.PyStringMap diff --git a/tests/stubtest_whitelists/py38.txt b/tests/stubtest_whitelists/py38.txt index 4da2d3eb3..273ae789a 100644 --- a/tests/stubtest_whitelists/py38.txt +++ b/tests/stubtest_whitelists/py38.txt @@ -31,7 +31,6 @@ collections.abc.AsyncGenerator.ag_running collections.abc.ItemsView.__reversed__ collections.abc.KeysView.__reversed__ collections.abc.ValuesView.__reversed__ -concurrent.futures.ProcessPoolExecutor.map contextvars.Context.__init__ contextvars.Context.get copy.PyStringMap diff --git a/tests/stubtest_whitelists/py39.txt b/tests/stubtest_whitelists/py39.txt index 6034d98b6..7401dbafd 100644 --- a/tests/stubtest_whitelists/py39.txt +++ b/tests/stubtest_whitelists/py39.txt @@ -59,9 +59,6 @@ http.cookiejar.DefaultCookiePolicy.__init__ http.server.SimpleHTTPRequestHandler.__init__ importlib.metadata.DistributionFinder.Context.pattern importlib.metadata.EntryPointBase -inspect.isasyncgenfunction -inspect.iscoroutinefunction -inspect.isgeneratorfunction ipaddress.IPv4Interface.hostmask ipaddress.IPv6Interface.hostmask ipaddress._BaseNetwork.broadcast_address @@ -158,12 +155,6 @@ collections.abc.Coroutine.send collections.abc.Coroutine.throw collections.abc.Generator.send collections.abc.Generator.throw -concurrent.futures.Executor.submit -concurrent.futures.ProcessPoolExecutor.submit -concurrent.futures.ThreadPoolExecutor.submit -concurrent.futures._base.Executor.submit -concurrent.futures.process.ProcessPoolExecutor.submit -concurrent.futures.thread.ThreadPoolExecutor.submit contextlib.AbstractContextManager.__exit__ contextlib.AsyncExitStack.callback contextlib.AsyncExitStack.push_async_callback @@ -172,7 +163,6 @@ contextvars.ContextVar.reset contextvars.ContextVar.set dataclasses.dataclass dataclasses.replace -hmac.compare_digest io.IncrementalNewlineDecoder.setstate itertools.tee lzma.LZMACompressor.compress @@ -195,7 +185,6 @@ pwd.getpwnam pwd.getpwuid random.SystemRandom.getrandbits secrets.SystemRandom.getrandbits -secrets.compare_digest signal.sigtimedwait signal.sigwaitinfo trace.Trace.runfunc diff --git a/tests/stubtest_whitelists/py3_common.txt b/tests/stubtest_whitelists/py3_common.txt index 014e0fb97..64e38af24 100644 --- a/tests/stubtest_whitelists/py3_common.txt +++ b/tests/stubtest_whitelists/py3_common.txt @@ -102,10 +102,6 @@ collections.abc.Generator.gi_yieldfrom collections.abc.Mapping.get collections.abc.Sequence.index collections.deque.__hash__ -concurrent.futures.Executor.map -concurrent.futures._base.Executor.map -concurrent.futures.ProcessPoolExecutor.map -concurrent.futures.process.ProcessPoolExecutor.map configparser.LegacyInterpolation.before_get configparser.SectionProxy.__getattr__ configparser.SectionProxy.getboolean @@ -172,7 +168,6 @@ encodings.utf_8.encode enum.EnumMeta.__call__ enum.EnumMeta.__new__ getopt.GetoptError.__init__ -hmac.HMAC.__init__ html.parser.HTMLParser.feed http.HTTPStatus.description http.HTTPStatus.phrase @@ -207,7 +202,6 @@ importlib.machinery.WindowsRegistryFinder.find_module importlib.machinery.WindowsRegistryFinder.find_spec importlib.util.spec_from_file_location importlib.util.spec_from_loader -inspect.BoundArguments.__init__ inspect.Parameter.KEYWORD_ONLY inspect.Parameter.POSITIONAL_ONLY inspect.Parameter.POSITIONAL_OR_KEYWORD @@ -215,8 +209,6 @@ inspect.Parameter.VAR_KEYWORD inspect.Parameter.VAR_POSITIONAL inspect.Parameter.replace inspect.Signature.replace -inspect.getabsfile -inspect.getmodule io.BufferedRandom.truncate io.BufferedReader.seek io.BufferedReader.truncate @@ -323,9 +315,7 @@ pydoc.TextDoc.docmodule pydoc.TextDoc.docother pydoc.TextDoc.docproperty pydoc.TextDoc.docroutine -random.Random.randrange random.SystemRandom.getstate -random.randrange re.error.__init__ runpy.run_path sched.Event.__doc__