summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/import_/test_path.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/importlib/test/import_/test_path.py')
-rw-r--r--Lib/importlib/test/import_/test_path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/import_/test_path.py b/Lib/importlib/test/import_/test_path.py
index b28f25d..61fe226 100644
--- a/Lib/importlib/test/import_/test_path.py
+++ b/Lib/importlib/test/import_/test_path.py
@@ -82,7 +82,7 @@ class FinderTests(unittest.TestCase):
with util.import_state(path=[path], path_hooks=[hook]):
loader = machinery.PathFinder.find_module(module)
self.assertIs(loader, importer)
- self.assertIn('', sys.path_importer_cache)
+ self.assertIn(os.getcwd(), sys.path_importer_cache)
class DefaultPathFinderTests(unittest.TestCase):