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/test_static.py | |
| 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/test_static.py')
| -rw-r--r-- | tests/test_static.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
