diff options
-rw-r--r-- | Lib/test/test_import.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 87409fc..8510eb8 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -172,6 +172,7 @@ class ImportTests(unittest.TestCase): # Need to be able to load from current dir. sys.path.append('') + importlib.invalidate_caches() try: make_legacy_pyc(filename) |