summaryrefslogtreecommitdiff
path: root/tests/test_scripts
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2022-03-13 18:23:15 -0500
committerMichael Merickel <michael@merickel.org>2022-03-13 18:24:26 -0500
commit1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9 (patch)
treef490995d5bf34627b9753b35eb2b7767ae68c3dc /tests/test_scripts
parent1e439035e41da3767acbcae79689fb05dfdeb317 (diff)
downloadpyramid-1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9.tar.gz
pyramid-1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9.tar.bz2
pyramid-1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9.zip
pyupgrade --py37-plus
Diffstat (limited to 'tests/test_scripts')
-rw-r--r--tests/test_scripts/test_proutes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_scripts/test_proutes.py b/tests/test_scripts/test_proutes.py
index 8ac5d0fd1..c0aeb01d3 100644
--- a/tests/test_scripts/test_proutes.py
+++ b/tests/test_scripts/test_proutes.py
@@ -320,7 +320,7 @@ class TestPRoutesCommand(unittest.TestCase):
compare_to = L[-1].split()[:3]
view_module = 'tests.test_scripts.dummy'
view_str = '<tests.test_scripts.dummy.DummyMultiView'
- final = '%s.%s' % (view_module, view_str)
+ final = f'{view_module}.{view_str}'
self.assertEqual(compare_to, ['a', '/a', final])