diff options
author | pukkandan <pukkandan@gmail.com> | 2021-01-21 03:38:04 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-01-21 03:38:57 +0530 |
commit | 610d8e7692fd9855b0de913edb3e52877aa46b31 (patch) | |
tree | 8c32855d94b4443a3a4693232f5d5d2e3cb06930 /test/test_post_hooks.py | |
parent | e2f6586c16bb8a4d79ac920a9772bd92f644e1bb (diff) | |
download | hypervideo-pre-610d8e7692fd9855b0de913edb3e52877aa46b31.tar.lz hypervideo-pre-610d8e7692fd9855b0de913edb3e52877aa46b31.tar.xz hypervideo-pre-610d8e7692fd9855b0de913edb3e52877aa46b31.zip |
[tests] Fix test_post_hooks
:skip ci all
Diffstat (limited to 'test/test_post_hooks.py')
-rw-r--r-- | test/test_post_hooks.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_post_hooks.py b/test/test_post_hooks.py index d8d2b36c3..63500924e 100644 --- a/test/test_post_hooks.py +++ b/test/test_post_hooks.py @@ -8,11 +8,11 @@ import unittest sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from test.helper import get_params, try_rm -import youtube_dl.YoutubeDL -from youtube_dl.utils import DownloadError +import youtube_dlc.YoutubeDL +from youtube_dlc.utils import DownloadError -class YoutubeDL(youtube_dl.YoutubeDL): +class YoutubeDL(youtube_dlc.YoutubeDL): def __init__(self, *args, **kwargs): super(YoutubeDL, self).__init__(*args, **kwargs) self.to_stderr = self.to_screen |