From a376ab99f884de67ffbc711624f9615c8e9930ce Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 1 Apr 2024 20:29:15 +0530 Subject: [PATCH] fstrings need f --- 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 0357998f2..6b5278c3f 100755 --- a/test/test_download.py +++ b/test/test_download.py @@ -117,7 +117,7 @@ def print_skipping(reason): for other_ie in other_ies: if not other_ie.working(): - print_skipping('test depends on {other_ie.ie_key()}IE, is _REPORTED_BROKEN') + print_skipping(f'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 ed58437b6..a64b2b936 100644 --- a/test/test_subtitles.py +++ b/test/test_subtitles.py @@ -40,7 +40,7 @@ def setUp(self): self.ie = self.IE() self.DL.add_info_extractor(self.ie) if not self.IE.working(): - print('Skipping: {self.IE.ie_key()} is _REPORTED_BROKEN') + print(f'Skipping: {self.IE.ie_key()} is _REPORTED_BROKEN') self.skipTest('IE is _REPORTED_BROKEN') def getInfoDict(self):