Skip to content

Commit

Permalink
Make signature of fake YoutubeDL.report_warning() match the real one …
Browse files Browse the repository at this point in the history
…(per 640d39f)
  • Loading branch information
dirkf authored Feb 21, 2024
1 parent 2bd001f commit 15b0616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, *args, **kwargs):
self.processed_info_dicts = []
super(YoutubeDL, self).__init__(*args, **kwargs)

def report_warning(self, message):
def report_warning(self, message, *args, **kwargs):
# Don't accept warnings during tests
raise ExtractorError(message)

Expand Down

0 comments on commit 15b0616

Please sign in to comment.