mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #14605: Insert to the front of sys.meta_path, don't append.
This commit is contained in:
parent
c8287efed3
commit
3c6ea1c14d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue