forked from github/pelican
ruff UP031 in files: use format specifiers instead of percent format
This commit is contained in:
parent
3e81af966a
commit
30bde3823f
12 changed files with 47 additions and 50 deletions
|
|
@ -27,8 +27,7 @@ class ReaderTest(unittest.TestCase):
|
|||
self.assertEqual(
|
||||
value,
|
||||
real_value,
|
||||
"Expected %s to have value %s, but was %s"
|
||||
% (key, value, real_value),
|
||||
f"Expected {key} to have value {value}, but was {real_value}",
|
||||
)
|
||||
else:
|
||||
self.fail(f"Expected {key} to have value {value}, but was not in Dict")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue