[pypy-commit] pypy py3k: don't use the L notation (not supported in py3k), and kill useless print

antocuni noreply at buildbot.pypy.org
Thu Apr 19 10:03:12 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r54520:1695068fd9cf
Date: 2012-04-19 10:02 +0200
http://bitbucket.org/pypy/pypy/changeset/1695068fd9cf/

Log:	don't use the L notation (not supported in py3k), and kill useless
	print

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
@@ -289,8 +289,7 @@
         assert "%x" % big == "1234567890987654321"
 
     def test_missing_cases(self):
-        big = -123456789012345678901234567890L
-        print '%032d' % big
+        big = -123456789012345678901234567890
         assert '%032d' % big == '-0123456789012345678901234567890'
 
     def test_invalid_char(self):


More information about the pypy-commit mailing list