Author: Juergen Boemmels <[email protected]>
Branch:
Changeset: r42:62a632e86746
Date: 2012-02-26 13:26 +0100
http://bitbucket.org/pypy/lang-scheme/changeset/62a632e86746/
Log: minor testfix
diff --git a/scheme/test/test_eval.py b/scheme/test/test_eval.py
--- a/scheme/test/test_eval.py
+++ b/scheme/test/test_eval.py
@@ -821,7 +821,7 @@
w_result = eval_(ctx, "(apply list '((+ 2 3) (* 3 4)))")
assert w_result.equal(parse_("((+ 2 3) (* 3 4))"))
- py.test.raises(WrongArgsNumber, eval_, ctx, "(apply 1)")
+ py.test.raises(WrongArgsNumber, eval_, ctx, "(apply +)")
py.test.raises(WrongArgType, eval_, ctx, "(apply 1 '(1))")
py.test.raises(WrongArgType, eval_, ctx, "(apply + 42)")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit