[pypy-commit] pypy default: merged upstream.

alex_gaynor noreply at buildbot.pypy.org
Wed May 11 17:34:04 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
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(


More information about the pypy-commit mailing list