From 1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 13 Mar 2022 18:23:15 -0500 Subject: pyupgrade --py37-plus --- tests/test_static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_static.py') diff --git a/tests/test_static.py b/tests/test_static.py index 3fc6586e9..af487fa24 100644 --- a/tests/test_static.py +++ b/tests/test_static.py @@ -97,7 +97,7 @@ class Test_static_view_use_subpath_False(unittest.TestCase): inst = self._makeOne('tests:fixtures/static') dds = '..' + os.sep request = self._makeRequest( - {'PATH_INFO': '/subdir/%s%sminimal.pt' % (dds, dds)} + {'PATH_INFO': f'/subdir/{dds}{dds}minimal.pt'} ) context = DummyContext() from pyramid.httpexceptions import HTTPNotFound -- cgit v1.2.3