[pypy-commit] pypy py3k: kill longs
antocuni
noreply at buildbot.pypy.org
Wed Mar 21 12:27:38 CET 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r53861:fd7de37d755c
Date: 2012-03-21 12:14 +0100
http://bitbucket.org/pypy/pypy/changeset/fd7de37d755c/
Log: kill longs
diff --git a/pypy/objspace/std/test/test_obj.py b/pypy/objspace/std/test/test_obj.py
--- a/pypy/objspace/std/test/test_obj.py
+++ b/pypy/objspace/std/test/test_obj.py
@@ -114,14 +114,12 @@
x = 1000000
assert x + 1 is int(str(x + 1))
assert 1 is not 1.0
- assert 1 is not 1l
- assert 1l is not 1.0
assert 1.1 is 1.1
assert 0.0 is not -0.0
for x in range(10):
assert x + 0.1 is x + 0.1
for x in range(10):
- assert x + 1L is x + 1L
+ assert x + 1 is x + 1
for x in range(10):
assert x+1j is x+1j
assert 1+x*1j is 1+x*1j
More information about the pypy-commit
mailing list