diff options
Diffstat (limited to 'Lib/test')
-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) |