mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start
This commit is contained in:
parent
ad9c9bb5a9
commit
f1dc3ee16d
7 changed files with 14 additions and 6 deletions
|
@ -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__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue