Adding in tuple checkingish.
This commit is contained in:
parent
6831841699
commit
678ef441e5
@ -84,3 +84,9 @@ def test_ast_print():
|
|||||||
assert type(code.value) == ast.Call
|
assert type(code.value) == ast.Call
|
||||||
return
|
return
|
||||||
assert type(code) == ast.Print
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user