mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-06-30 19:12:53 -05:00
[test] Fix FakeYDL
signatures
Authored by: coletdjnz
This commit is contained in:
@ -43,7 +43,7 @@ class YoutubeDL(yt_dlp.YoutubeDL):
|
||||
self.processed_info_dicts = []
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def report_warning(self, message):
|
||||
def report_warning(self, message, *args, **kwargs):
|
||||
# Don't accept warnings during tests
|
||||
raise ExtractorError(message)
|
||||
|
||||
|
Reference in New Issue
Block a user