Kaydet (Commit) 3c6ea1c1 authored tarafından Brett Cannon's avatar Brett Cannon

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

üst c8287efe
......@@ -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)
......
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