Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r95392:a41bd76d7c6b Date: 2018-12-01 20:06 +0200 http://bitbucket.org/pypy/pypy/changeset/a41bd76d7c6b/
Log: Get rid of that assert in the test diff --git a/rpython/jit/metainterp/test/test_ajit.py b/rpython/jit/metainterp/test/test_ajit.py --- a/rpython/jit/metainterp/test/test_ajit.py +++ b/rpython/jit/metainterp/test/test_ajit.py @@ -4753,14 +4753,13 @@ while True: driver.jit_merge_point(iterations=iterations, total=total, c=c, height=height, h=h) - if h.intval > 0: + if h.intval != 0: h = IntVal(h.intval - 1) total = total + 1 else: c = c + 1 if c >= iterations: return total - assert height.intval > 0 h = IntVal(height.intval - 1) res = self.meta_interp(f, [2, 200]) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit