summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index d985aad76..5b27a4796 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -70,7 +70,7 @@ def tail_check(check):
for node in nodes:
if node.tail and rex.search(node.tail):
return True
- raise AssertionError('%r not found in tail of any nodes %s' % (check, nodes))
+ raise AssertionError(f'{check!r} not found in tail of any nodes {nodes}')
return checker