From 15b06163a8378d7cf42881883b54e9854081052d Mon Sep 17 00:00:00 2001 From: dirkf Date: Wed, 21 Feb 2024 15:29:16 +0000 Subject: [PATCH] Make signature of fake YoutubeDL.report_warning() match the real one (per 640d39f) --- test/test_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)