From f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 13 Oct 2013 02:04:20 +0200 Subject: Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start --- Lib/test/test_site.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Lib/test/test_site.py') 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__": -- cgit v1.2.1