aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_loop.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-11-11 15:20:48 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-11-11 15:20:48 -0500
commit800f3b13ed9c1ea52fbd6544dc902ebd7a721733 (patch)
tree08e80e47a427c49f3b0540c3c6b4d35aee7e707f /test/test_loop.py
parent3bbeaef7d5576fcefd1ccec3661ce7e3fd454094 (diff)
downloadexternal_python_mako-800f3b13ed9c1ea52fbd6544dc902ebd7a721733.tar.gz
external_python_mako-800f3b13ed9c1ea52fbd6544dc902ebd7a721733.tar.bz2
external_python_mako-800f3b13ed9c1ea52fbd6544dc902ebd7a721733.zip
2.4-3.3 pass in place
Diffstat (limited to 'test/test_loop.py')
-rw-r--r--test/test_loop.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_loop.py b/test/test_loop.py
index acff53f..bdfbaea 100644
--- a/test/test_loop.py
+++ b/test/test_loop.py
@@ -10,7 +10,7 @@ from mako.runtime import LoopStack, LoopContext
from mako import exceptions
from test import assert_raises_message
from test import TemplateTest, eq_
-from .util import flatten_result, result_lines
+from test.util import flatten_result, result_lines
class TestLoop(unittest.TestCase):
@@ -208,7 +208,7 @@ class TestLoopFlags(TemplateTest):
self._do_memory_test(
"""
the loop: ${loop}
- """,
+ """,
"the loop: hi",
template_args=dict(loop='hi'),
filters=flatten_result,
@@ -237,7 +237,7 @@ class TestLoopFlags(TemplateTest):
% for i in (1, 2, 3):
${i} ${loop.index}
% endfor
- """,
+ """,
"1 0 2 1 3 2",
template_args=dict(loop='hi'),
filters=flatten_result,
@@ -269,7 +269,7 @@ class TestLoopFlags(TemplateTest):
% for i in (1, 2, 3):
${i} ${loop.index}
% endfor
- """,
+ """,
"1 0 2 1 3 2",
template_args=dict(),
filters=flatten_result,