def setUp(self): # We're reusing the zip archive path, so we must clear the # cached directory info. zipimport._zip_directory_cache.clear() ImportHooksBaseTestCase.setUp(self)
def setUp(self): # We're reusing the zip archive path, so we must clear the # cached directory info and linecache linecache.clearcache() zipimport._zip_directory_cache.clear() ImportHooksBaseTestCase.setUp(self)
def setUp(self): linecache.clearcache() zipimport._zip_directory_cache.clear() ImportHooksBaseTestCase.setUp(self)