[pypy-svn] r61904 - pypy/trunk/pypy/module/_locale/test

getxsick at codespeak.net getxsick at codespeak.net
Sun Feb 15 00:50:57 CET 2009


Author: getxsick
Date: Sun Feb 15 00:50:55 2009
New Revision: 61904

Modified:
   pypy/trunk/pypy/module/_locale/test/test_locale.py
Log:
(jlg, getxsick) use UTF-8 for convinence

Modified: pypy/trunk/pypy/module/_locale/test/test_locale.py
==============================================================================
--- pypy/trunk/pypy/module/_locale/test/test_locale.py	(original)
+++ pypy/trunk/pypy/module/_locale/test/test_locale.py	Sun Feb 15 00:50:55 2009
@@ -123,9 +123,9 @@
         import _locale
         import locale
 
-        _locale.setlocale(_locale.LC_ALL, "en_US")
+        _locale.setlocale(_locale.LC_ALL, "en_US.UTF-8")
         assert locale.str(1.1) == '1.1'
-        _locale.setlocale(_locale.LC_ALL, "pl_PL")
+        _locale.setlocale(_locale.LC_ALL, "pl_PL.UTF-8")
         assert locale.str(1.1) == '1,1'
 
     def test_text(self):



More information about the Pypy-commit mailing list