aboutsummaryrefslogtreecommitdiff
path: root/test/test_youtube_subtitles.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-04-30 18:48:45 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-04-30 19:42:13 +0200
commit8749b7127391948f9a71148c5ae00adcfbb24a33 (patch)
tree945602f3670e15280018394dcf0a8a1410706478 /test/test_youtube_subtitles.py
parentdbc50fdf82610abecc5fb9ab40817534f0dae972 (diff)
downloadyoutube-dl-8749b7127391948f9a71148c5ae00adcfbb24a33.tar.xz
Fix FakeDownloaders
Diffstat (limited to 'test/test_youtube_subtitles.py')
-rw-r--r--test/test_youtube_subtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py
index b4909091b..5b3f289af 100644
--- 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)
- def trouble(self, s):
+ def trouble(self, s, tb=None):
raise Exception(s)
def download(self, x):
self.result.append(x)