projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add --write-thumbnail option to download thumbnail (Suggested by `)
[youtube-dl]
/
test
/
test_youtube_subtitles.py
diff --git
a/test/test_youtube_subtitles.py
b/test/test_youtube_subtitles.py
index b4909091b9216b2b426ca599882b21e2abc6820e..5b3f289afeebbca005c34535a61f3fa64177465e 100644
(file)
--- a/
test/test_youtube_subtitles.py
+++ b/
test/test_youtube_subtitles.py
@@
-30,7
+30,7
@@
class FakeDownloader(object):
self.params = parameters
def to_screen(self, s):
print(s)
self.params = parameters
def to_screen(self, s):
print(s)
- def trouble(self, s):
+ def trouble(self, s
, tb=None
):
raise Exception(s)
def download(self, x):
self.result.append(x)
raise Exception(s)
def download(self, x):
self.result.append(x)