fstrings need f

This commit is contained in:
pukkandan 2024-04-01 20:29:15 +05:30 committed by GitHub
parent 68b74d52ab
commit a376ab99f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 {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']

View File

@ -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: {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):