1
0
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:
pukkandan
2022-06-21 12:51:46 +05:30
parent 95032f302c
commit f0500bd1e4
4 changed files with 13 additions and 13 deletions

View File

@ -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)