Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r70320:944bcc7beb70
Date: 2014-03-26 10:51 -0700
http://bitbucket.org/pypy/pypy/changeset/944bcc7beb70/

Log:    fix for 32bit platforms again

diff --git a/pypy/module/marshal/test/test_marshal.py 
b/pypy/module/marshal/test/test_marshal.py
--- a/pypy/module/marshal/test/test_marshal.py
+++ b/pypy/module/marshal/test/test_marshal.py
@@ -208,7 +208,7 @@
         from pypy.interpreter import gateway
         from pypy.objspace.std.smalllongobject import W_SmallLongObject
         def w__small(space, w_obj):
-            return W_SmallLongObject.fromint(space.int_w(w_obj))
+            return W_SmallLongObject.frombigint(space.bigint_w(w_obj))
         cls.w__small = cls.space.wrap(gateway.interp2app(w__small))
 
     def test_smalllong(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to