0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-10-31 23:02:40 +00:00
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
This commit is contained in:
pukkandan 2024-04-01 20:26:45 +05:30 committed by GitHub
parent c414c3d406
commit 68b74d52ab
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 print_skipping(reason):
for other_ie in other_ies: for other_ie in other_ies:
if not other_ie.working(): 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 = get_params(test_case.get('params', {}))
params['outtmpl'] = tname + '_' + params['outtmpl'] params['outtmpl'] = tname + '_' + params['outtmpl']

View file

@ -40,7 +40,7 @@ def setUp(self):
self.ie = self.IE() self.ie = self.IE()
self.DL.add_info_extractor(self.ie) self.DL.add_info_extractor(self.ie)
if not self.IE.working(): 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') self.skipTest('IE is _REPORTED_BROKEN')
def getInfoDict(self): def getInfoDict(self):