summaryrefslogtreecommitdiff
path: root/tests/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkgs')
-rw-r--r--tests/pkgs/eventonly/__init__.py2
-rw-r--r--tests/pkgs/subrequestapp/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/pkgs/eventonly/__init__.py b/tests/pkgs/eventonly/__init__.py
index d0d4dafb9..e45a5691f 100644
--- a/tests/pkgs/eventonly/__init__.py
+++ b/tests/pkgs/eventonly/__init__.py
@@ -7,7 +7,7 @@ class Yup:
self.val = val
def text(self):
- return 'path_startswith = %s' % (self.val,)
+ return f'path_startswith = {self.val}'
phash = text
diff --git a/tests/pkgs/subrequestapp/__init__.py b/tests/pkgs/subrequestapp/__init__.py
index 177f5637b..9c0d0daa1 100644
--- a/tests/pkgs/subrequestapp/__init__.py
+++ b/tests/pkgs/subrequestapp/__init__.py
@@ -10,7 +10,7 @@ def view_one(request):
def view_two(request):
# check that request.foo is valid for a subrequest
- return 'This came from view_two, foo=%s' % (request.foo,)
+ return f'This came from view_two, foo={request.foo}'
def view_three(request):