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 print_skipping(reason): 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 @@ def setUp(self): 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):