summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_site.py
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-09-12 04:26:20 (GMT)
committerNed Deily <nad@python.org>2016-09-12 04:26:20 (GMT)
commit8a2150aae6db4d664c96a038ef6abacd4bcbcdc9 (patch)
treed75419ecc234b6863181a7f10567ba50b40dadfa /Lib/test/test_site.py
parent59da4b324f08247d389a4c89e1e84243f41c489f (diff)
downloadcpython-8a2150aae6db4d664c96a038ef6abacd4bcbcdc9.zip
cpython-8a2150aae6db4d664c96a038ef6abacd4bcbcdc9.tar.gz
cpython-8a2150aae6db4d664c96a038ef6abacd4bcbcdc9.tar.bz2
Issue #28095: Temporarily disable part of test_startup_imports on OS X.
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r--Lib/test/test_site.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
index 0720230..9afa56e 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__":