From: Jaime Marquínez Ferrándiz Date: Mon, 23 Dec 2013 09:40:28 +0000 (+0100) Subject: [subtitles-tests] Fix youtube test X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9d8d675e0e739504978642f132ec3f68d6690892;p=youtube-dl [subtitles-tests] Fix youtube test It returns now a single info_dict --- diff --git a/test/test_subtitles.py b/test/test_subtitles.py index 23a653124..263b5ac69 100644 --- a/test/test_subtitles.py +++ b/test/test_subtitles.py @@ -36,10 +36,6 @@ class TestYoutubeSubtitles(BaseTestSubtitles): url = 'QRS8MkLhQmM' IE = YoutubeIE - def getSubtitles(self): - info_dict = self.getInfoDict() - return info_dict[0]['subtitles'] - def test_youtube_no_writesubtitles(self): self.DL.params['writesubtitles'] = False subtitles = self.getSubtitles()