diff options
author | Christian Heimes <christian@python.org> | 2022-06-10 21:56:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 21:56:26 (GMT) |
commit | 09243b898a13f3f61e275c1031143d1225e70916 (patch) | |
tree | fe8d33df19d464585d2f4391c262b225834f3f28 /Lib/test/test_importlib/test_api.py | |
parent | cf730b595eea0460a7305205f7dfb6ecf0346351 (diff) | |
download | cpython-09243b898a13f3f61e275c1031143d1225e70916.zip cpython-09243b898a13f3f61e275c1031143d1225e70916.tar.gz cpython-09243b898a13f3f61e275c1031143d1225e70916.tar.bz2 |
gh-93461: Invalidate sys.path_importer_cache entries with relative paths (GH-93653)
Diffstat (limited to 'Lib/test/test_importlib/test_api.py')
-rw-r--r-- | Lib/test/test_importlib/test_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_api.py b/Lib/test/test_importlib/test_api.py index ddf8094..e94a48f 100644 --- a/Lib/test/test_importlib/test_api.py +++ b/Lib/test/test_importlib/test_api.py @@ -396,7 +396,7 @@ class InvalidateCacheTests: def invalidate_caches(self): self.called = True - key = 'gobledeegook' + key = os.path.abspath('gobledeegook') meta_ins = InvalidatingNullFinder() path_ins = InvalidatingNullFinder() sys.meta_path.insert(0, meta_ins) |