diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-17 11:40:00 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-17 11:40:00 (GMT) |
commit | 86823a52fcaa56fdd913495d2e7a6e5c9b5c7781 (patch) | |
tree | 84210964b4beef9ea952484d6961b744979a0f73 /Lib/test/test_site.py | |
parent | e4508eebb43bfc563192bb60a510d8d91cc6129d (diff) | |
download | cpython-86823a52fcaa56fdd913495d2e7a6e5c9b5c7781.zip cpython-86823a52fcaa56fdd913495d2e7a6e5c9b5c7781.tar.gz cpython-86823a52fcaa56fdd913495d2e7a6e5c9b5c7781.tar.bz2 |
Issue #19275: Fix test_site on AMD64 Snow Leopard
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 3ada0a6..5b3d961 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', |