Commit 73def61e authored by Brett Cannon's avatar Brett Cannon

Try to fix a sporadic test failure from what is probably a caching race condition.

parent 740fce0e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment