Author: David Schneider <[email protected]>
Branch: disable_merge_different_int_types
Changeset: r49696:e1e61acee8d8
Date: 2011-11-23 17:20 +0100
http://bitbucket.org/pypy/pypy/changeset/e1e61acee8d8/

Log:    (arigo, bivab) fix test

diff --git a/pypy/translator/c/test/test_lltyped.py 
b/pypy/translator/c/test/test_lltyped.py
--- a/pypy/translator/c/test/test_lltyped.py
+++ b/pypy/translator/c/test/test_lltyped.py
@@ -476,12 +476,13 @@
         def f(n):
             result = ()
             for cls in classes:
+                nn = cls(n)
                 for OP in operators:
                     x = getmin(cls)
-                    res1 = OP(x, n)
+                    res1 = OP(x, nn)
                     result = result + (res1,)
                     x = getmax(cls)
-                    res1 = OP(x, n)
+                    res1 = OP(x, nn)
                     result = result + (res1,)
             return result
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to