From 68b74d52ab33fa233632d5e0bcb08368f012ec39 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 1 Apr 2024 20:26:45 +0530 Subject: [PATCH] fstrings Co-authored-by: Simon Sawicki --- test/test_download.py | 2 +- test/test_subtitles.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_download.py b/test/test_download.py index 1b0f5d1e2..0357998f2 100755 --- a/test/test_download.py +++ b/test/test_download.py @@ -117,7 +117,7 @@ def generator(test_case, tname): for other_ie in other_ies: if not other_ie.working(): - print_skipping('test depends on %sIE, is _REPORTED_BROKEN' % other_ie.ie_key()) + print_skipping('test depends on {other_ie.ie_key()}IE, is _REPORTED_BROKEN') params = get_params(test_case.get('params', {})) params['outtmpl'] = tname + '_' + params['outtmpl'] diff --git a/test/test_subtitles.py b/test/test_subtitles.py index a017a24fc..ed58437b6 100644 --- a/test/test_subtitles.py +++ b/test/test_subtitles.py @@ -40,7 +40,7 @@ class BaseTestSubtitles(unittest.TestCase): self.ie = self.IE() self.DL.add_info_extractor(self.ie) if not self.IE.working(): - print('Skipping: %s is _REPORTED_BROKEN' % self.IE.ie_key()) + print('Skipping: {self.IE.ie_key()} is _REPORTED_BROKEN') self.skipTest('IE is _REPORTED_BROKEN') def getInfoDict(self):