diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2014-04-15 18:37:54 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2014-04-15 18:37:54 (GMT) |
commit | 9574355ff3cffde2dc67ee60a61e468cec1d46f7 (patch) | |
tree | ffad45be64a59b01cc2ef0c6ffb3876d013a74ba /Lib/test/test_site.py | |
parent | 09cc169a03f865d7ff68e49be01ea9d3588c96de (diff) | |
download | cpython-9574355ff3cffde2dc67ee60a61e468cec1d46f7.zip cpython-9574355ff3cffde2dc67ee60a61e468cec1d46f7.tar.gz cpython-9574355ff3cffde2dc67ee60a61e468cec1d46f7.tar.bz2 |
- Issue #21223: Pass test_site/test_startup_imports when some of the extensions
are built as builtins.
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index b32aef1..8325222 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -459,7 +459,8 @@ class StartupImportTests(unittest.TestCase): # http://bugs.python.org/issue19218> collection_mods = {'_collections', 'collections', 'functools', 'heapq', 'itertools', 'keyword', 'operator', - 'reprlib', 'types', 'weakref'} + 'reprlib', 'types', 'weakref' + }.difference(sys.builtin_module_names) self.assertFalse(modules.intersection(collection_mods), stderr) |