[pypy-commit] pypy py3k: kill this test, we no longer have longs
antocuni
noreply at buildbot.pypy.org
Thu Apr 19 09:58:43 CEST 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r54515:2eb703b200a6
Date: 2012-04-19 09:50 +0200
http://bitbucket.org/pypy/pypy/changeset/2eb703b200a6/
Log: kill this test, we no longer have longs
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
@@ -127,15 +127,6 @@
assert '27' == '%.2o' % n
assert '027' == '%#.2o' % n
- def test_format_long(self):
- l = 4800000000L
- assert '%d' % l == '4800000000'
- #
- class SubLong(long):
- pass
- sl = SubLong(l)
- assert '%d' % sl == '4800000000'
-
def test_format_list(self):
l = [1,2]
assert '<[1, 2]>' == '<%s>' % l
More information about the pypy-commit
mailing list