diff options
Diffstat (limited to 'test/test_call.py')
-rw-r--r-- | test/test_call.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test_call.py b/test/test_call.py index d47ec11..fecb2de 100644 --- a/test/test_call.py +++ b/test/test_call.py @@ -47,6 +47,9 @@ class CallTest(TemplateTest): def test_new_syntax(self): """test foo:bar syntax, including multiline args and expression eval.""" + # note the trailing whitespace in the bottom ${} expr, need to strip + # that off < python 2.7 + t = Template(""" <%def name="foo(x, y, q, z)"> ${x} @@ -64,7 +67,9 @@ class CallTest(TemplateTest): (1, 2), (3, 4), (5, 6) - ]}"/> + ] + + }"/> """) eq_( |