From 8a2150aae6db4d664c96a038ef6abacd4bcbcdc9 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 12 Sep 2016 00:26:20 -0400 Subject: [PATCH] Issue #28095: Temporarily disable part of test_startup_imports on OS X. --- Lib/test/test_site.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 0720230f24..9afa56eb73 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -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__": -- 2.40.0