Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53857:5564b4aebac9
Date: 2012-03-21 12:03 +0100
http://bitbucket.org/pypy/pypy/changeset/5564b4aebac9/
Log: we no longer have 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
@@ -173,14 +173,13 @@
if self.cpython_apptest:
skip("cpython behaves differently")
assert id(1) == (1 << 3) + 1
- assert id(1l) == (1 << 3) + 3
class myint(int):
pass
assert id(myint(1)) != id(1)
assert id(1.0) & 7 == 5
assert id(-0.0) != id(0.0)
- assert hex(id(2.0)) == '0x20000000000000005L'
+ assert hex(id(2.0)) == '0x20000000000000005'
assert id(0.0) == 5
def test_id_on_strs(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit