[pypy-commit] pypy disable_merge_different_int_types: (arigo, bivab): fix test

bivab noreply at buildbot.pypy.org
Wed Nov 23 17:14:52 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: disable_merge_different_int_types
Changeset: r49694:b1f7a47053f1
Date: 2011-11-23 17:14 +0100
http://bitbucket.org/pypy/pypy/changeset/b1f7a47053f1/

Log:	(arigo, bivab): fix test

diff --git a/pypy/translator/c/test/test_typed.py b/pypy/translator/c/test/test_typed.py
--- a/pypy/translator/c/test/test_typed.py
+++ b/pypy/translator/c/test/test_typed.py
@@ -261,7 +261,7 @@
         f._annspecialcase_ = "specialize:argtype(0)"
         def g(n):
             if n > 0:
-                return f(r_longlong(0))
+                return intmask(f(r_longlong(0)))
             else:
                 return f(0)
 


More information about the pypy-commit mailing list