diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index bf7be4ec1c6..4975a770220 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -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',