Skip to content

Commit d119712

Browse files
authored
Fix daily stubtest error: Add find_distributions() to stubtest allowlist (#14879)
1 parent 9a970cf commit d119712

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/@tests/stubtest_allowlists/linux-py39.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
# while being inspected by stubtest. Fixed in Python 3.10.
77
select.epoll.register
88

9+
# According to stubtest, these are not present at runtime, starting with
10+
# Python 3.9.24. Which is not true.
11+
_frozen_importlib_external.PathFinder.find_distributions
12+
importlib._bootstrap_external.PathFinder.find_distributions
13+
importlib.machinery.PathFinder.find_distributions
14+
915

1016
# =============================================================
1117
# Allowlist entries that cannot or should not be fixed; <= 3.12

0 commit comments

Comments
 (0)