]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-151626: Fix tests that fail when PYTHONPYCACHEPREFIX is set (GH-151952...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 08:14:54 +0000 (10:14 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 08:14:54 +0000 (08:14 +0000)
commit5bf5eeabc47d158ee3b2bc99a5f80849a359c39d
tree9c5f5fd6d2933923001192e2653c8c6b4031f599
parente076f9c5f89422f2a92d370d052007e936a0e0ab
[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 564c58c718bc3de9cf3d9bc20cdc06317411c1cd)
(cherry picked from commit 7087839a4ed55c760eae91fe44035105dfb22ead)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Jiucheng(Oliver) <git.jiucheng@gmail.com>
Lib/test/test_compileall.py
Lib/test/test_import/__init__.py
Lib/test/test_importlib/test_util.py
Lib/test/test_inspect/test_inspect.py
Lib/test/test_py_compile.py
Misc/NEWS.d/next/Tests/2026-06-22-19-45-00.gh-issue-151626.K9pZ2x.rst [new file with mode: 0644]