This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients ocean-city
Date 2010-09-16.18:08:00
SpamBayes Score 0.0035232734
Marked as misclassified No
Message-id <1284660482.11.0.334028765429.issue9868@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2010-09-16 18:08:02ocean-citysetrecipients: + ocean-city
2010-09-16 18:08:02ocean-citysetmessageid: <1284660482.11.0.334028765429.issue9868@psf.upfronthosting.co.za>
2010-09-16 18:08:00ocean-citylinkissue9868 messages
2010-09-16 18:08:00ocean-citycreate