From 86823a52fcaa56fdd913495d2e7a6e5c9b5c7781 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 17 Oct 2013 13:40:00 +0200 Subject: Issue #19275: Fix test_site on AMD64 Snow Leopard --- Lib/test/test_site.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_site.py') diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 3ada0a671c..5b3d961329 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -443,8 +443,9 @@ class StartupImportTests(unittest.TestCase): self.assertFalse(modules.intersection(re_mods), stderr) # http://bugs.python.org/issue9548 self.assertNotIn('locale', modules, stderr) - # http://bugs.python.org/issue19209 - self.assertNotIn('copyreg', modules, stderr) + if sys.platform != 'darwin': + # http://bugs.python.org/issue19209 + self.assertNotIn('copyreg', modules, stderr) # http://bugs.python.org/issue19218> collection_mods = {'_collections', 'collections', 'functools', 'heapq', 'itertools', 'keyword', 'operator', -- cgit v1.2.1