[pypy-commit] pypy py3k: py3k-ify
antocuni
noreply at buildbot.pypy.org
Thu Apr 19 15:33:49 CEST 2012
Author: Antonio Cuni <anto.cuni at 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
More information about the pypy-commit
mailing list