diff options
author | Brett Cannon <brett@python.org> | 2012-04-27 13:52:55 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-27 13:52:55 -0400 |
commit | 59ea49301f3b14d452d65da4c51759d4331f2f16 (patch) | |
tree | daeba8d786cf326f2d38729a4689e1227b700948 /Lib/test/test_threaded_import.py | |
parent | cb6d55d4d49ca2a3146f96ae695d92522fde7949 (diff) | |
download | cpython-59ea49301f3b14d452d65da4c51759d4331f2f16.tar.gz |
Issue #14605: Insert to the front of sys.meta_path, don't append.
Diffstat (limited to 'Lib/test/test_threaded_import.py')
-rw-r--r-- | Lib/test/test_threaded_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_threaded_import.py b/Lib/test/test_threaded_import.py index 3faa1845e5..bb72ad4054 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) |