From af32f40bf52b09f3a903ef321435288b4d878770 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Tue, 18 May 2021 23:55:32 +0530 Subject: [PATCH] [test] Fix `test_YoutubeDL.TestYoutubeDL` Test `test_ignoreerrors_for_playlist_with_url_transparent_iterable_entries` was broken due to `__original_infodict` being added to the dict --- test/test_YoutubeDL.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index 5454dcf5e..f34d55d82 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -29,6 +29,7 @@ class YDL(FakeYDL): self.msgs = [] def process_info(self, info_dict): + info_dict.pop('__original_infodict', None) self.downloaded_info_dicts.append(info_dict) def to_screen(self, msg):