summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-viewcode/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-ext-viewcode/conf.py')
-rw-r--r--tests/roots/test-ext-viewcode/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/roots/test-ext-viewcode/conf.py b/tests/roots/test-ext-viewcode/conf.py
index bee063988..5e07214fd 100644
--- a/tests/roots/test-ext-viewcode/conf.py
+++ b/tests/roots/test-ext-viewcode/conf.py
@@ -19,6 +19,6 @@ if 'test_linkcode' in tags:
elif domain == "js":
return "http://foobar/js/" + info['fullname']
elif domain in ("c", "cpp"):
- return "http://foobar/%s/%s" % (domain, "".join(info['names']))
+ return f"http://foobar/{domain}/{''.join(info['names'])}"
else:
raise AssertionError()