X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/54007a45f11ed730352324289b714baefd2901eb..add96eb9f84cfffe85682bf2fb85135746994ee8:/test/test_post_hooks.py diff --git a/test/test_post_hooks.py b/test/test_post_hooks.py index 3778d1794..6500dd386 100644 --- a/test/test_post_hooks.py +++ b/test/test_post_hooks.py @@ -59,7 +59,7 @@ def hook_two(self, filename): def hook_three(self, filename): self.files.append(filename) - raise Exception('Test exception for \'%s\'' % filename) + raise Exception(f'Test exception for \'{filename}\'') def tearDown(self): for f in self.files: