[pypy-commit] pypy default: Oups, thanks gregor_w for noticing that the test was not testing anything.

arigo noreply at buildbot.pypy.org
Fri Aug 15 19:36:36 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r72819:39bb9189ac28
Date: 2014-08-15 19:25 +0200
http://bitbucket.org/pypy/pypy/changeset/39bb9189ac28/

Log:	Oups, thanks gregor_w for noticing that the test was not testing
	anything. Make it do so, and fix it.

diff --git a/rpython/jit/backend/llsupport/test/zrpy_gc_test.py b/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
--- a/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
+++ b/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
@@ -633,9 +633,9 @@
             return n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s
 
         def after(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s):
-            check(x.x == 1800 * 2 + 1850 * 2 + 200 - 150)
+            check(x.x == 1800 * 2 + 150 * 2 + 200 - 1850)
 
-        return before, f, None
+        return before, f, after
 
     def test_compile_framework_external_exception_handling(self):
         self.run('compile_framework_external_exception_handling')


More information about the pypy-commit mailing list