diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-11 07:23:36 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-11 07:23:36 -0500 |
commit | 1b94835aac3268a32bfa4ce0df585dbb97457a06 (patch) | |
tree | adbc0aa1467460588e77aa6d574e1ae9abb74f0f /tests/test_plugins.py | |
parent | 79f9f4575321fafc2ef770e3255f874db3d4b037 (diff) | |
download | python-coveragepy-git-1b94835aac3268a32bfa4ce0df585dbb97457a06.tar.gz |
style: convert more string formatting to f-strings
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r-- | tests/test_plugins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 17c7ba44..5d3b5322 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -988,7 +988,7 @@ class DynamicContextPluginTest(CoverageTest): """Make some files to use while testing dynamic context plugins.""" self.make_file("rendering.py", """\ def html_tag(tag, content): - return '<%s>%s</%s>' % (tag, content, tag) + return f'<{tag}>{content}</{tag}>' def render_paragraph(text): return html_tag('p', text) |