Skip to content

Commit 8a2150a

Browse files
committed
Issue python#28095: Temporarily disable part of test_startup_imports on OS X.
1 parent 59da4b3 commit 8a2150a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_site.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,9 @@ def test_startup_imports(self):
470470
'heapq', 'itertools', 'keyword', 'operator',
471471
'reprlib', 'types', 'weakref'
472472
}.difference(sys.builtin_module_names)
473-
self.assertFalse(modules.intersection(collection_mods), stderr)
473+
# http://bugs.python.org/issue28095
474+
if sys.platform != 'darwin':
475+
self.assertFalse(modules.intersection(collection_mods), stderr)
474476

475477

476478
if __name__ == "__main__":

0 commit comments

Comments
 (0)