Message116587
This patch is *as is* patch.
Index: Lib/test/test_locale.py
===================================================================
--- Lib/test/test_locale.py (revision 84824)
+++ Lib/test/test_locale.py (working copy)
@@ -352,13 +352,13 @@
locale_type = locale.LC_ALL
def setUp(self):
- BaseLocalizedTest.setUp(self)
enc = codecs.lookup(locale.getpreferredencoding(False) or 'ascii').name
if enc not in ('utf-8', 'iso8859-1', 'cp1252'):
raise unittest.SkipTest('encoding not suitable')
if enc != 'iso8859-1' and (sys.platform == 'darwin' or
sys.platform.startswith('freebsd')):
raise unittest.SkipTest('wcscoll/wcsxfrm have known bugs')
+ BaseLocalizedTest.setUp(self)
def test_strcoll_with_diacritic(self):
self.assertLess(locale.strcoll('テ', 'b'), 0) |
|
Date |
User |
Action |
Args |
2010-09-16 18:08:02 | ocean-city | set | recipients:
+ ocean-city |
2010-09-16 18:08:02 | ocean-city | set | messageid: <1284660482.11.0.334028765429.issue9868@psf.upfronthosting.co.za> |
2010-09-16 18:08:00 | ocean-city | link | issue9868 messages |
2010-09-16 18:08:00 | ocean-city | create | |
|