diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-17 18:55:59 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-17 18:55:59 +0200 |
commit | ea3eb88bcaef775c8f2bbe310053f9990a8c9ea7 (patch) | |
tree | 9461ae28e833a95a79cc4811df68435bf0e00fc3 /Lib/test/test_pkg.py | |
parent | 5cec9d2ae57da6fb5c424bb297ddb67902393b2d (diff) | |
download | cpython-git-ea3eb88bcaef775c8f2bbe310053f9990a8c9ea7.tar.gz |
Issue #9260: A finer-grained import lock.
Most of the import sequence now uses per-module locks rather than the
global import lock, eliminating well-known issues with threads and imports.
Diffstat (limited to 'Lib/test/test_pkg.py')
-rw-r--r-- | Lib/test/test_pkg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_pkg.py b/Lib/test/test_pkg.py index 4d0eee8d01..355efe7566 100644 --- a/Lib/test/test_pkg.py +++ b/Lib/test/test_pkg.py @@ -23,6 +23,8 @@ def cleanout(root): def fixdir(lst): if "__builtins__" in lst: lst.remove("__builtins__") + if "__initializing__" in lst: + lst.remove("__initializing__") return lst |