Commit c22bd58d authored by Ned Deily's avatar Ned Deily Committed by GitHub

bpo-28095: Re-enable temporarily disabled part of test_startup_imports on macOS (#2927)

The changes for bpo-29585 eliminate the extra imports on macOS that caused
the original test failure.

This reverts commit 8a2150aa.
parent b1660800
......@@ -492,9 +492,7 @@ class StartupImportTests(unittest.TestCase):
'heapq', 'itertools', 'keyword', 'operator',
'reprlib', 'types', 'weakref'
}.difference(sys.builtin_module_names)
# http://bugs.python.org/issue28095
if sys.platform != 'darwin':
self.assertFalse(modules.intersection(collection_mods), stderr)
self.assertFalse(modules.intersection(collection_mods), stderr)
def test_startup_interactivehook(self):
r = subprocess.Popen([sys.executable, '-c',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment