From 271f2846dc255a0d8876c5de4a56b21824b9ceca Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Tue, 24 Jul 2018 09:37:19 -0700 Subject: [PATCH] Minor cleanup in test_ast --- tests/compilers/test_ast.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/compilers/test_ast.py b/tests/compilers/test_ast.py index a5f42af..59232f3 100644 --- a/tests/compilers/test_ast.py +++ b/tests/compilers/test_ast.py @@ -16,7 +16,6 @@ from hy._compat import PY3 import ast import pytest - def _ast_spotcheck(arg, root, secondary): if "." in arg: local, full = arg.split(".", 1) @@ -290,7 +289,7 @@ def test_ast_require(): def test_ast_import_require_dotted(): - """As in Python, it should be a compile-type error to attempt to + """As in Python, it should be a compile-time error to attempt to import a dotted name.""" cant_compile("(import [spam [foo.bar]])") cant_compile("(require [spam [foo.bar]])")