[pypy-commit] pypy detect-immutable-fields: A failing test

alex_gaynor noreply at buildbot.pypy.org
Thu Jan 23 20:36:38 CET 2014


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: detect-immutable-fields
Changeset: r68871:b93c074c8d0b
Date: 2014-01-23 13:35 -0600
http://bitbucket.org/pypy/pypy/changeset/b93c074c8d0b/

Log:	A failing test

diff --git a/pypy/module/pypyjit/test_pypy_c/test_instance.py b/pypy/module/pypyjit/test_pypy_c/test_instance.py
--- a/pypy/module/pypyjit/test_pypy_c/test_instance.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_instance.py
@@ -35,7 +35,7 @@
             class A(object):
                 pass
             a = A()
-            a.x = 2
+            a.x = 1
             def main(n):
                 i = 0
                 while i < n:
@@ -49,7 +49,7 @@
             i9 = int_lt(i5, i6)
             guard_true(i9, descr=...)
             guard_not_invalidated(descr=...)
-            i10 = int_add_ovf(i5, i7)
+            i10 = int_add(i5, 1)
             guard_no_overflow(descr=...)
             --TICK--
             jump(..., descr=...)


More information about the pypy-commit mailing list