[pypy-svn] r61855 - in pypy/trunk/pypy/module/_locale: . test

jlg at codespeak.net jlg at codespeak.net
Fri Feb 13 22:28:22 CET 2009


Author: jlg
Date: Fri Feb 13 22:28:21 2009
New Revision: 61855

Modified:
   pypy/trunk/pypy/module/_locale/interp_locale.py
   pypy/trunk/pypy/module/_locale/test/test_locale.py
Log:
(getxsick, jlg) BytecodeCorrpution appears in cpython2.6 only 

Modified: pypy/trunk/pypy/module/_locale/interp_locale.py
==============================================================================
--- pypy/trunk/pypy/module/_locale/interp_locale.py	(original)
+++ pypy/trunk/pypy/module/_locale/interp_locale.py	Fri Feb 13 22:28:21 2009
@@ -142,12 +142,12 @@
     result = {
         "decimal_point": rffi.charp2str(lp.c_decimal_point),
         "thousands_sep": rffi.charp2str(lp.c_thousands_sep),
-        "grouping": _copy_grouping(rffi.charp2str(lp.c_grouping)), # XXX
+        "grouping": _copy_grouping(rffi.charp2str(lp.c_grouping)),
         "int_curr_symbol": rffi.charp2str(lp.c_int_curr_symbol),
         "currency_symbol": rffi.charp2str(lp.c_currency_symbol),
         "mon_decimal_point": rffi.charp2str(lp.c_mon_decimal_point),
         "mon_thousands_sep": rffi.charp2str(lp.c_mon_thousands_sep),
-        "mon_grouping": _copy_grouping(rffi.charp2str(lp.c_mon_grouping)), # XXX
+        "mon_grouping": _copy_grouping(rffi.charp2str(lp.c_mon_grouping)),
         "positive_sign": rffi.charp2str(lp.c_positive_sign),
         "negative_sign": rffi.charp2str(lp.c_negative_sign),
         "int_frac_digits": lp.c_int_frac_digits,

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	Fri Feb 13 22:28:21 2009
@@ -64,7 +64,6 @@
         assert string.uppercase != ucase
 
     def test_localeconv(self):
-        skip("raise BytecodeCorruption - wtf?")
         import _locale
 
         lconv_c = {



More information about the Pypy-commit mailing list