[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>