Skip to content

Commit 678fb4b

Browse files
authored
Remove distutils.dist.Distribution.announce from the blacklist
Following python/typeshed#9795, stubtest now passes for typeshed's `setuptools` stubs even if the correct default parameter is added to the stdlib stub for `distutils.dist.Distribution.announce`
1 parent 1d133b3 commit 678fb4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stubdefaulter/stdlib-blacklist.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ cmath.log
4242
os.utime
4343
pyexpat.XMLParserType.ExternalEntityParserCreate
4444

45-
# Adding the default to this method causes stubtest to fail for typeshed's setuptools stubs
46-
# See https://github.com/python/typeshed/pull/9800
47-
distutils.dist.Distribution.announce
48-
4945
# TODO: fix these in typeshed: https://github.com/python/typeshed/issues/9652
5046
asyncio.base_events.BaseEventLoop.create_connection
5147
asyncio.base_events.BaseEventLoop.create_server

0 commit comments

Comments
 (0)