Author: Antonio Cuni <anto.c...@gmail.com> Branch: py3k Changeset: r54529:35d076905f8f Date: 2012-04-19 10:07 +0200 http://bitbucket.org/pypy/pypy/changeset/35d076905f8f/
Log: py3k-ify diff --git a/pypy/objspace/std/test/test_stringformat.py b/pypy/objspace/std/test/test_stringformat.py --- a/pypy/objspace/std/test/test_stringformat.py +++ b/pypy/objspace/std/test/test_stringformat.py @@ -259,7 +259,7 @@ def test_unicode_d(self): t = 3 - assert u"%.1d" % t == '3' + assert "%.1d" % t == '3' def test_unicode_overflow(self): skip("nicely passes on top of CPython but requires > 2GB of RAM") @@ -267,8 +267,8 @@ raises((OverflowError, MemoryError), 'u"%.*d" % (sys.maxint, 1)') def test_unicode_format_a(self): - ten = 10L - assert u'%x' % ten == 'a' + ten = 10 + assert '%x' % ten == 'a' def test_long_no_overflow(self): big = 0x1234567890987654321 _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit