[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
This commit is contained in:
pukkandan 2021-05-18 23:55:32 +05:30
parent 4ec82a72bb
commit af32f40bf5
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
1 changed files with 1 additions and 0 deletions

View File

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