[Python-checkins] cpython: Issue #19275: Fix test_site on AMD64 Snow Leopard
christian.heimes
python-checkins at python.org
Thu Oct 17 13:40:14 CEST 2013
http://hg.python.org/cpython/rev/58aaf7542efe
changeset: 86397:58aaf7542efe
user: Christian Heimes <christian at cheimes.de>
date: Thu Oct 17 13:40:00 2013 +0200
summary:
Issue #19275: Fix test_site on AMD64 Snow Leopard
files:
Lib/test/test_site.py | 5 +++--
Misc/NEWS | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
@@ -443,8 +443,9 @@
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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -123,6 +123,8 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list