瀏覽代碼

[subtitles-tests] Fix youtube test

It returns now a single info_dict
Jaime Marquínez Ferrándiz 11 年之前
父節點
當前提交
9d8d675e0e
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      test/test_subtitles.py

+ 0 - 4
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()