summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-27 17:52:55 (GMT)
committerBrett Cannon <brett@python.org>2012-04-27 17:52:55 (GMT)
commit3c6ea1c14dc7a3eb67d46f96b3acdb83586f42ae (patch)
tree82b2d2592c3ca1e2ca77f0f61621b682696cad46 /Lib
parentc8287efed3c493330ee112c397668ec3edcd7380 (diff)
downloadcpython-3c6ea1c14dc7a3eb67d46f96b3acdb83586f42ae.zip
cpython-3c6ea1c14dc7a3eb67d46f96b3acdb83586f42ae.tar.gz
cpython-3c6ea1c14dc7a3eb67d46f96b3acdb83586f42ae.tar.bz2
Issue #14605: Insert to the front of sys.meta_path, don't append.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_threaded_import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_threaded_import.py b/Lib/test/test_threaded_import.py
index 3faa184..bb72ad4 100644
--- a/Lib/test/test_threaded_import.py
+++ b/Lib/test/test_threaded_import.py
@@ -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)