Issue #28095: Temporarily disable part of test_startup_imports on OS X.

This commit is contained in:
Ned Deily 2016-09-12 00:26:20 -04:00
parent 59da4b324f
commit 8a2150aae6
1 changed files with 3 additions and 1 deletions

View File

@ -470,7 +470,9 @@ class StartupImportTests(unittest.TestCase):
'heapq', 'itertools', 'keyword', 'operator',
'reprlib', 'types', 'weakref'
}.difference(sys.builtin_module_names)
self.assertFalse(modules.intersection(collection_mods), stderr)
# http://bugs.python.org/issue28095
if sys.platform != 'darwin':
self.assertFalse(modules.intersection(collection_mods), stderr)
if __name__ == "__main__":