Author: Armin Rigo <[email protected]>
Branch:
Changeset: r295:1cdc5217622b
Date: 2013-06-26 22:33 +0200
http://bitbucket.org/pypy/stmgc/changeset/1cdc5217622b/
Log: Fix this test
diff --git a/duhton/test/test_misc.py b/duhton/test/test_misc.py
--- a/duhton/test/test_misc.py
+++ b/duhton/test/test_misc.py
@@ -2,12 +2,12 @@
def test_type():
- assert run("(print (type 42))") == "<type 'int'>\n"
- assert run("(print (type (+ 40 2)))") == "<type 'int'>\n"
+ assert run("(print (type 42))") == "'int'\n"
+ assert run("(print (type (+ 40 2)))") == "'int'\n"
def test_quote():
assert run("(print (quote (+ 40 2)))") == "( '+' 40 2 )\n"
- assert run("(print (type (quote (+ 40 2))))") == "<type 'cons'>\n"
+ assert run("(print (type (quote (+ 40 2))))") == "'cons'\n"
def test_if():
assert evaluate("(if 5 6 7)") == 6
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit