diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_template.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_template.txt b/tests/test_template.txt index 45a85e2..f3466f2 100644 --- a/tests/test_template.txt +++ b/tests/test_template.txt @@ -97,8 +97,8 @@ in Python, but it's more useful in templates generally):: ... elif item == 'orange': ... assert loop.last ... if loop.first_group(lambda i: i[0].upper()): - ... print '%s:' % item[0].upper() - ... print loop.number, item + ... print('%s:' % item[0].upper()) + ... print("%s %s" % (loop.number, item)) A: 1 apple 2 asparagus |