[pypy-commit] lang-io default: fix and pass second tests forwarding messages with arguments
bivab
noreply at buildbot.pypy.org
Tue Sep 27 16:14:36 CEST 2011
Author: David Schneider <david.schneider at 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"
More information about the pypy-commit
mailing list