[pypy-commit] pypy default: Fix the test.

arigo noreply at buildbot.pypy.org
Sun Oct 28 18:46:45 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r58541:e7004e804a53
Date: 2012-10-28 18:46 +0100
http://bitbucket.org/pypy/pypy/changeset/e7004e804a53/

Log:	Fix the test.

diff --git a/pypy/jit/metainterp/test/test_list.py b/pypy/jit/metainterp/test/test_list.py
--- a/pypy/jit/metainterp/test/test_list.py
+++ b/pypy/jit/metainterp/test/test_list.py
@@ -137,7 +137,7 @@
             return l2[0] + l2[1] + l2[2] + l2[3]
 
         res = self.interp_operations(f, [], listops=True)
-        assert res == 10       
+        assert res == f()
 
     def test_arraycopy_full(self):
         jitdriver = JitDriver(greens = [], reds = ['n'])


More information about the pypy-commit mailing list