1
0
Fork 0
forked from github/pelican

ruff UP031 in files: use format specifiers instead of percent format

This commit is contained in:
boxydog 2024-06-01 16:00:17 -05:00
commit 30bde3823f
12 changed files with 47 additions and 50 deletions

View file

@ -71,8 +71,7 @@ class TestPelican(LoggedTestCase):
if proc.returncode != 0:
msg = self._formatMessage(
msg,
"%s and %s differ:\nstdout:\n%s\nstderr\n%s"
% (left_path, right_path, out, err),
f"{left_path} and {right_path} differ:\nstdout:\n{out}\nstderr\n{err}",
)
raise self.failureException(msg)