diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2019-04-01 23:03:51 -0500 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2019-04-01 23:03:51 -0500 |
commit | c024ce89feea5f0cda05aa518f77e39eb6c0ec95 (patch) | |
tree | 00cf8f63419aeb0236526af16d2ee42dd42fb68c /simple_unit_tests.py | |
parent | 2cedb21cc3eff2a57f0d781dc38e679589664d3a (diff) | |
download | pyparsing-git-c024ce89feea5f0cda05aa518f77e39eb6c0ec95.tar.gz |
Fix unnumbered str format placeholders for Py2.6
Diffstat (limited to 'simple_unit_tests.py')
-rw-r--r-- | simple_unit_tests.py | 2 |
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( |