diff options
| author | Michael Merickel <michael@merickel.org> | 2022-09-29 18:22:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-29 18:22:56 -0500 |
| commit | 51a731c690b2644df206722767a74fee9339fb87 (patch) | |
| tree | e45f75dbb1f209464e1bd1f69d22a24eb7bc36f5 /tests/pkgs | |
| parent | 97481ac5f713306e398ea2ffd283004a485df114 (diff) | |
| parent | d9a49e0afeb773d80ee6f6a60ad4936d433dc4f4 (diff) | |
| download | pyramid-51a731c690b2644df206722767a74fee9339fb87.tar.gz pyramid-51a731c690b2644df206722767a74fee9339fb87.tar.bz2 pyramid-51a731c690b2644df206722767a74fee9339fb87.zip | |
Merge pull request #3701 from Pylons/pyupgrade-3.7
pyupgrade --py37-plus
Diffstat (limited to 'tests/pkgs')
| -rw-r--r-- | tests/pkgs/eventonly/__init__.py | 2 | ||||
| -rw-r--r-- | tests/pkgs/subrequestapp/__init__.py | 2 |
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): |
