Issue #14605: Insert to the front of sys.meta_path, don't append.

This commit is contained in:
Brett Cannon 2012-04-27 13:52:55 -04:00
parent c8287efed3
commit 3c6ea1c14d
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class ThreadedImportTests(unittest.TestCase):
def test_parallel_meta_path(self):
finder = Finder()
sys.meta_path.append(finder)
sys.meta_path.insert(0, finder)
try:
self.check_parallel_module_init()
self.assertGreater(finder.numcalls, 0)