summaryrefslogtreecommitdiff
path: root/test/test_ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ast.py')
-rw-r--r--test/test_ast.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ast.py b/test/test_ast.py
index 8e02811..84508c7 100644
--- a/test/test_ast.py
+++ b/test/test_ast.py
@@ -1,6 +1,6 @@
import unittest
-from mako import ast, exceptions, pyparser, util
+from mako import ast, exceptions, pyparser, util, compat
from test import eq_, requires_python_2
exception_kwargs = {
@@ -237,7 +237,7 @@ import x as bar
parsed = ast.PythonFragment("try:", **exception_kwargs)
- if util.py3k:
+ if compat.py3k:
parsed = ast.PythonFragment(
"except MyException as e:", **exception_kwargs)
else: