[pypy-commit] lang-scheme default: minor testfix

boemmels noreply at buildbot.pypy.org
Sun Feb 26 13:27:08 CET 2012


Author: Juergen Boemmels <boemmels at web.de>
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)")
 


More information about the pypy-commit mailing list