Matej Cepl added the comment: Hmm, so with this patch
diff -up Python-3.3.2/Lib/test/test_format.py.fixFormatTest Python-3.3.2/Lib/test/test_format.py --- Python-3.3.2/Lib/test/test_format.py.fixFormatTest 2013-10-22 10:05:12.253426746 +0200 +++ Python-3.3.2/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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7442> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com