Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63081:7ecf4bccf4c9
Date: 2013-04-05 17:26 -0700
http://bitbucket.org/pypy/pypy/changeset/7ecf4bccf4c9/
Log: ints are always PyLongs
diff --git a/pypy/module/cpyext/test/test_longobject.py
b/pypy/module/cpyext/test/test_longobject.py
--- a/pypy/module/cpyext/test/test_longobject.py
+++ b/pypy/module/cpyext/test/test_longobject.py
@@ -50,11 +50,11 @@
assert api.PyLong_CheckExact(w_l)
w_i = space.wrap(sys.maxint)
- assert not api.PyLong_Check(w_i)
- assert not api.PyLong_CheckExact(w_i)
+ assert api.PyLong_Check(w_i)
+ assert api.PyLong_CheckExact(w_i)
L = space.appexec([], """():
- class L(long):
+ class L(int):
pass
return L
""")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit