From 678ef441e5b0bbe9dbfce67c1c9e4d8caeb9a19a Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Mon, 1 Apr 2013 19:53:04 -0400 Subject: [PATCH] Adding in tuple checkingish. --- tests/compilers/test_ast.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/compilers/test_ast.py b/tests/compilers/test_ast.py index f4e4bc4..f9d1df3 100644 --- a/tests/compilers/test_ast.py +++ b/tests/compilers/test_ast.py @@ -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