]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/testurl.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / testurl.py
index 3cf00177650262236ed78c8de568330ba923295d..31e3c4d9cbe28a4251677ddb639d92c6abd0ddc1 100644 (file)
@@ -30,7 +30,7 @@ def _real_extract(self, url):
             ), None)
             if not extractor:
                 raise ExtractorError(
-                    'Found multiple matching extractors: %s' % ' '.join(ie.IE_NAME for ie in matching_extractors),
+                    'Found multiple matching extractors: {}'.format(' '.join(ie.IE_NAME for ie in matching_extractors)),
                     expected=True)
         else:
             extractor = matching_extractors[0]