aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_lexer.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-02-21 12:04:21 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-02-21 12:04:21 -0500
commit6b29775df2d3155bf6076ea103f573c5efbc8883 (patch)
tree2a8d383fc199befdb28c8fbd398148408f532f09 /test/test_lexer.py
parent76f27c8002f7200a12a23e2b6f5dd7a38bc4c293 (diff)
downloadexternal_python_mako-6b29775df2d3155bf6076ea103f573c5efbc8883.tar.gz
external_python_mako-6b29775df2d3155bf6076ea103f573c5efbc8883.tar.bz2
external_python_mako-6b29775df2d3155bf6076ea103f573c5efbc8883.zip
- py3k fixesrel_0_4_0
Diffstat (limited to 'test/test_lexer.py')
-rw-r--r--test/test_lexer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_lexer.py b/test/test_lexer.py
index 006abee..538da97 100644
--- a/test/test_lexer.py
+++ b/test/test_lexer.py
@@ -342,7 +342,7 @@ class LexerTest(TemplateTest):
<%
print("hi")
for x in range(1,5):
- print x
+ print(x)
%>
more text
<%!
@@ -354,7 +354,7 @@ more text
TemplateNode({}, [
Text(u'text\n ', (1, 1)),
Code(u'\nprint("hi")\nfor x in range(1,5):\n '
- 'print x\n \n', False, (2, 5)),
+ 'print(x)\n \n', False, (2, 5)),
Text(u'\nmore text\n ', (6, 7)),
Code(u'\nimport foo\n \n', True, (8, 5)),
Text(u'\n', (10, 7))])