From: Ned Deily Date: Mon, 12 Sep 2016 04:26:20 +0000 (-0400) Subject: Issue #28095: Temporarily disable part of test_startup_imports on OS X. X-Git-Tag: v3.6.0b1~17^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a2150aae6db4d664c96a038ef6abacd4bcbcdc9;p=thirdparty%2FPython%2Fcpython.git Issue #28095: Temporarily disable part of test_startup_imports on OS X. --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 0720230f24fe..9afa56eb7350 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__":