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 mcepl
Recipients BreamoreBoy, eric.smith, loewis, mark.dickinson, mcepl, skrah
Date 2013-10-22.11:31:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382441498.65.0.263836578868.issue7442@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm, so with this patch

diff -up Python-3.Lib/test/test_format.py.fixFormatTest Python-3.Lib/test/test_format.py
--- Python-3.Lib/test/test_format.py.fixFormatTest  2013-10-22 10:05:12.253426746 +0200
+++ Python-3.Lib/test/test_format.py        2013-10-22 10:16:58.510530570 +0200
@@ -288,7 +288,7 @@ class FormatTest(unittest.TestCase):
     def test_locale(self):
         try:
             oldloc = locale.setlocale(locale.LC_ALL)
-            locale.setlocale(locale.LC_ALL, '')
+            locale.setlocale(locale.LC_ALL, 'ps_AF')
         except locale.Error as err:
             self.skipTest("Cannot set locale: {}".format(err))
         try:

(or any other explicit locale, I have tried also en_IE) test doesn't fail.

Using Python-3.3.2 on RHEL-6 (kernel 2.6.32-358.23.2.el6.i686).
History
Date User Action Args
2013-10-22 11:31:38mceplsetrecipients: + mcepl, loewis, mark.dickinson, eric.smith, skrah, BreamoreBoy
2013-10-22 11:31:38mceplsetmessageid: <1382441498.65.0.263836578868.issue7442@psf.upfronthosting.co.za>
2013-10-22 11:31:38mcepllinkissue7442 messages
2013-10-22 11:31:38mceplcreate