1
0
Fork 0
forked from github/pelican

Update code base for Python 3.8 and above

Result of: pipx run pyupgrade --py38-plus pelican/**/*.py
This commit is contained in:
Justin Mayer 2023-11-12 13:53:02 +01:00
commit ecd598f293
15 changed files with 58 additions and 64 deletions

View file

@ -32,9 +32,7 @@ class ReaderTest(unittest.TestCase):
% (key, value, real_value),
)
else:
self.fail(
"Expected %s to have value %s, but was not in Dict" % (key, value)
)
self.fail(f"Expected {key} to have value {value}, but was not in Dict")
class TestAssertDictHasSubset(ReaderTest):