http://hg.python.org/cpython/rev/b85818a836e3 changeset: 76305:b85818a836e3 user: Brett Cannon <brett at python.org> date: Sat Apr 14 14:38:19 2012 -0400 summary: Try to fix a sporadic test failure from what is probably a caching race condition. files: 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 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -172,6 +172,7 @@ # Need to be able to load from current dir. sys.path.append('') + importlib.invalidate_caches() try: make_legacy_pyc(filename) -- Repository URL: http://hg.python.org/cpython