Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r54315:1da1c1632353 Date: 2012-04-12 17:41 +0200 http://bitbucket.org/pypy/pypy/changeset/1da1c1632353/
Log: Fix the test. The issue is not arg+memo. The issue is that you cannot call the specialize:arg function f with "f(i)", even if you just did "if i == 2" before. diff --git a/pypy/annotation/test/test_annrpython.py b/pypy/annotation/test/test_annrpython.py --- a/pypy/annotation/test/test_annrpython.py +++ b/pypy/annotation/test/test_annrpython.py @@ -3746,9 +3746,9 @@ return g(i) def main(i): if i == 2: - return f(i) + return f(2) elif i == 3: - return f(i) + return f(3) else: raise NotImplementedError _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit