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:
parent
903ce3ce33
commit
ecd598f293
15 changed files with 58 additions and 64 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue