Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r51370:dcae009093d8
Date: 2012-01-16 20:54 +0100
http://bitbucket.org/pypy/pypy/changeset/dcae009093d8/

Log:    Fix a test in test_longobject.py

diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/std/longtype.py
--- a/pypy/objspace/std/longtype.py
+++ b/pypy/objspace/std/longtype.py
@@ -40,6 +40,7 @@
                 w_obj = space.int(w_obj)
             else:
                 w_obj = space.trunc(w_obj)
+                w_obj = space.int(w_obj)
             return w_obj
     else:
         base = space.int_w(w_base)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to