Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r44082:2650f0a670c0
Date: 2011-05-11 11:41 -0400
http://bitbucket.org/pypy/pypy/changeset/2650f0a670c0/
Log: merged upstream.
diff --git a/pypy/module/cpyext/test/test_number.py
b/pypy/module/cpyext/test/test_number.py
--- a/pypy/module/cpyext/test/test_number.py
+++ b/pypy/module/cpyext/test/test_number.py
@@ -23,6 +23,8 @@
def test_number_int(self, space, api):
w_l = api.PyNumber_Int(space.wrap(123L))
assert api.PyInt_CheckExact(w_l)
+ w_l = api.PyNumber_Int(space.wrap(2 << 65))
+ assert api.PyLong_CheckExact(w_l)
def test_numbermethods(self, space, api):
assert "ab" == space.unwrap(
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit