diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-13 00:04:20 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-13 00:04:20 (GMT) |
commit | f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500 (patch) | |
tree | f29fbbb86d3b40e738c2ab220d0a27cacf66d383 /Lib/test/test_site.py | |
parent | ad9c9bb5a93fe922dd5768ab4e84eed96d72083c (diff) | |
download | cpython-f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500.zip cpython-f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500.tar.gz cpython-f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500.tar.bz2 |
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start
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 20e1868..3ada0a6 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__": |