- Issue #21223: Pass test_site/test_startup_imports when some of the extensions

are built as builtins.
This commit is contained in:
doko@ubuntu.com 2014-04-15 20:37:54 +02:00
parent 09cc169a03
commit 9574355ff3
2 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -190,6 +190,9 @@ Documentation
Tests
-----
- Issue #21223: Pass test_site/test_startup_imports when some of the extensions
are built as builtins.
- Issue #20635: Added tests for Tk geometry managers.
- Add test case for freeze.