Author: Armin Rigo <[email protected]>
Branch:
Changeset: r73712:19252e1566a1
Date: 2014-09-26 08:55 +0200
http://bitbucket.org/pypy/pypy/changeset/19252e1566a1/
Log: Failing test: untranslated, we get a string index out of range.
Translated, it mostly works, because the string happens to be padded
with zeroes.
diff --git a/pypy/objspace/std/test/test_newformat.py
b/pypy/objspace/std/test/test_newformat.py
--- a/pypy/objspace/std/test/test_newformat.py
+++ b/pypy/objspace/std/test/test_newformat.py
@@ -372,6 +372,7 @@
try:
assert locale.format('%g', x, grouping=True) == '1,234.57'
assert format(x, 'n') == '1,234.57'
+ assert format(12345678901234, 'n') == '12,345,678,901,234'
finally:
locale.setlocale(locale.LC_NUMERIC, 'C')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit