Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r70291:aef46bd9f030
Date: 2014-03-25 16:38 -0700
http://bitbucket.org/pypy/pypy/changeset/aef46bd9f030/
Log: fix for 32bit platforms
diff --git a/pypy/objspace/std/test/test_smalllongobject.py
b/pypy/objspace/std/test/test_smalllongobject.py
--- a/pypy/objspace/std/test/test_smalllongobject.py
+++ b/pypy/objspace/std/test/test_smalllongobject.py
@@ -51,7 +51,7 @@
from pypy.interpreter import gateway
from pypy.objspace.std.smalllongobject import W_SmallLongObject
def w__long(space, w_obj):
- return W_SmallLongObject.fromint(space.int_w(w_obj))
+ return W_SmallLongObject.frombigint(space.bigint_w(w_obj))
cls.w__long = cls.space.wrap(gateway.interp2app(w__long))
def test_sl_simple(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit