From: Christian Heimes Date: Thu, 17 Oct 2013 11:40:00 +0000 (+0200) Subject: Issue #19275: Fix test_site on AMD64 Snow Leopard X-Git-Tag: v3.4.0a4~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86823a52fcaa56fdd913495d2e7a6e5c9b5c7781;p=thirdparty%2FPython%2Fcpython.git Issue #19275: Fix test_site on AMD64 Snow Leopard --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 3ada0a671c76..5b3d96132978 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', diff --git a/Misc/NEWS b/Misc/NEWS index ddca1f55ed68..f9ede512c922 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -123,6 +123,8 @@ Library Tests ----- +- Issue #19275: Fix test_site on AMD64 Snow Leopard + - Issue #14407: Fix unittest test discovery in test_concurrent_futures. - Issue #18919: Unified and extended tests for audio modules: aifc, sunau and