diff --git a/test/test_download.py b/test/test_download.py index 9b07837d5..4e728e980 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -54,7 +54,7 @@ class YoutubeDL(youtube_dl.YoutubeDL): 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)