cpython/Lib/test/test_importlib
Victor Stinner 05df063ad8
gh-120417: Fix "imported but unused" linter warnings (#120461)
Add __all__ to the following modules:
importlib.machinery, importlib.util and xml.sax.

Add also "# noqa: F401" in collections.abc,
subprocess and xml.sax.

* Sort __all__; remove collections.abc.__all__; remove private names

* Add tests
2024-06-14 20:39:50 +02:00
..
builtin gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
extension gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
frozen gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
import_ gh-112414: Add additional unit tests for calling repr() on a namespace package (#112475) 2023-11-28 00:09:59 +00:00
metadata gh-117089: Apply changes from importlib_metadata 7.1.0 (#117094) 2024-03-20 23:01:24 -04:00
namespace_pkgs
partial bpo-43517: Fix false positive in detection of circular imports (#24895) 2021-03-20 20:07:44 +01:00
resources gh-106531: Apply changes from importlib_resources 6.3.2 (#117054) 2024-06-04 06:36:28 +00:00
source gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
__init__.py
__main__.py
abc.py
test_abc.py gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059) 2023-05-03 04:55:22 -07:00
test_api.py gh-120417: Fix "imported but unused" linter warnings (#120461) 2024-06-14 20:39:50 +02:00
test_lazy.py gh-117182: Allow lazily loaded modules to modify their own __class__ 2024-04-09 04:08:48 +01:00
test_locks.py gh-109974: Fix more threading lock_tests race conditions (#110089) 2023-09-29 12:21:18 +00:00
test_namespace_pkgs.py gh-112414: Fix AttributeError when calling repr() on a namespace package imported with a custom loader (#112425) 2023-11-27 08:19:29 +00:00
test_pkg_import.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181) 2021-04-05 13:11:23 +09:00
test_spec.py GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754) 2024-03-13 13:24:28 -07:00
test_threaded_import.py gh-118727: Don't drop the GIL in drop_gil() unless the current thread holds it (#118745) 2024-05-23 16:59:35 -04:00
test_util.py gh-76785: Rename _xxsubinterpreters to _interpreters (gh-117791) 2024-04-24 16:18:24 +00:00
test_windows.py gh-112535: Add test on _Py_ThreadId() (#112709) 2023-12-04 22:40:06 +00:00
threaded_import_hangers.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
util.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00