Author: David Schneider <david.schnei...@picle.org> Branch: Changeset: r50:3d6c3bdd9e8c Date: 2011-09-27 16:14 +0200 http://bitbucket.org/pypy/lang-io/changeset/3d6c3bdd9e8c/
Log: fix and pass second tests forwarding messages with arguments diff --git a/io/test/test_object.py b/io/test/test_object.py --- a/io/test/test_object.py +++ b/io/test/test_object.py @@ -332,8 +332,9 @@ def test_object_forwarding_args(): inp = """ a := Object clone do( - forward := method(call message argAt(0))) + forward := method(call message argAt(0)) ) a notThere(46)""" res, space = interpret(inp) - assert res.number_value == 46 + assert isinstance(res, W_Message) + assert res.name == "46" _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit