summaryrefslogtreecommitdiff
path: root/simple_unit_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'simple_unit_tests.py')
-rw-r--r--simple_unit_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/simple_unit_tests.py b/simple_unit_tests.py
index 28bdb16..a40795b 100644
--- a/simple_unit_tests.py
+++ b/simple_unit_tests.py
@@ -373,7 +373,7 @@ class TestTransformStringUsingParseActions(PyparsingExpressionTestCase):
}
def markup_convert(t):
htmltag = TestTransformStringUsingParseActions.markup_convert_map[t.markup_symbol]
- return "<{}>{}</{}>".format(htmltag, t.body, htmltag)
+ return "<{0}>{1}</{2}>".format(htmltag, t.body, htmltag)
tests = [
PpTestSpec(