Adding in tuple checkingish.

This commit is contained in:
Paul Tagliamonte 2013-04-01 19:53:04 -04:00
parent 6831841699
commit 678ef441e5

View File

@ -84,3 +84,9 @@ def test_ast_print():
assert type(code.value) == ast.Call
return
assert type(code) == ast.Print
def test_ast_print():
""" Ensure print doesn't suck. """
code = hy_compile(tokenize("(, 1 2 3)")).body[0].value
assert type(code) == ast.Tuple