From 93a31af7814a920c35cc1d5672de4d2cb241a67c Mon Sep 17 00:00:00 2001 From: Stephen Morton Date: Thu, 28 Nov 2024 07:03:06 -0800 Subject: [PATCH] add modulefinder.test (#13148) --- stdlib/@tests/stubtest_allowlists/common.txt | 1 - stdlib/modulefinder.pyi | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stdlib/@tests/stubtest_allowlists/common.txt b/stdlib/@tests/stubtest_allowlists/common.txt index 385c86f71..9b2da7725 100644 --- a/stdlib/@tests/stubtest_allowlists/common.txt +++ b/stdlib/@tests/stubtest_allowlists/common.txt @@ -72,7 +72,6 @@ ctypes.ARRAY ctypes.SetPointerType ctypes.c_voidp ctypes.util.test -modulefinder.test multiprocessing.managers.Server.accepter multiprocessing.managers.Server.create multiprocessing.managers.Server.debug_info diff --git a/stdlib/modulefinder.pyi b/stdlib/modulefinder.pyi index 2cf948ba8..6db665a18 100644 --- a/stdlib/modulefinder.pyi +++ b/stdlib/modulefinder.pyi @@ -64,3 +64,5 @@ class ModuleFinder: def any_missing(self) -> list[str]: ... # undocumented def any_missing_maybe(self) -> tuple[list[str], list[str]]: ... # undocumented def replace_paths_in_code(self, co: CodeType) -> CodeType: ... # undocumented + +def test() -> ModuleFinder | None: ... # undocumented