mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 14:45:42 +07:00
[test] Fix FakeYDL signatures
Authored by: coletdjnz
This commit is contained in:
@@ -43,7 +43,7 @@ def __init__(self, *args, **kwargs):
|
||||
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