cpython/Lib/test/test_importlib
Miss Islington (bot) 5bf5eeabc4
[3.13] gh-151626: Fix tests that fail when PYTHONPYCACHEPREFIX is set (GH-151952) (GH-152744) (#152748)
[3.14] gh-151626: Fix tests that fail when PYTHONPYCACHEPREFIX is set (GH-151952) (GH-152744)

Fix tests in test_compileall, test_import, test_importlib, test_py_compile, and test_inspect to neutralize PYTHONPYCACHEPREFIX
(cherry picked from commit 564c58c718)
(cherry picked from commit 7087839a4e)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Jiucheng(Oliver) <git.jiucheng@gmail.com>
2026-07-01 08:14:54 +00:00
..
builtin
extension
frozen
import_
metadata
namespace_pkgs
partial
resources
source
__init__.py
__main__.py
abc.py
test_abc.py
test_api.py
test_lazy.py
test_locks.py
test_namespace_pkgs.py
test_pkg_import.py
test_spec.py
test_threaded_import.py
test_util.py
test_windows.py
threaded_import_hangers.py
util.py