diff options
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 20e18688de..3ada0a671c 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -445,6 +445,11 @@ class StartupImportTests(unittest.TestCase): self.assertNotIn('locale', modules, stderr) # http://bugs.python.org/issue19209 self.assertNotIn('copyreg', modules, stderr) + # http://bugs.python.org/issue19218> + collection_mods = {'_collections', 'collections', 'functools', + 'heapq', 'itertools', 'keyword', 'operator', + 'reprlib', 'types', 'weakref'} + self.assertFalse(modules.intersection(re_mods), stderr) if __name__ == "__main__": |