aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 04:02:57 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 05:32:52 +0530
commitf82711587cee043cb2496fe180b5cc0e07c06eda (patch)
tree9c6bf7952657a78a93200fc7d90013990fdc8585 /test/test_YoutubeDL.py
parent86e5f3ed2e6e71eb81ea4c9e26288f16119ffd0c (diff)
downloadhypervideo-pre-f82711587cee043cb2496fe180b5cc0e07c06eda.tar.lz
hypervideo-pre-f82711587cee043cb2496fe180b5cc0e07c06eda.tar.xz
hypervideo-pre-f82711587cee043cb2496fe180b5cc0e07c06eda.zip
[cleanup] Sort imports
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py17
1 files changed, 14 insertions, 3 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 480c7539c..051a203ac 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -3,18 +3,29 @@
import os
import sys
import unittest
+
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import copy
import json
-
from test.helper import FakeYDL, assertRegexpMatches
+
from yt_dlp import YoutubeDL
-from yt_dlp.compat import compat_os_name, compat_setenv, compat_str, compat_urllib_error
+from yt_dlp.compat import (
+ compat_os_name,
+ compat_setenv,
+ compat_str,
+ compat_urllib_error,
+)
from yt_dlp.extractor import YoutubeIE
from yt_dlp.extractor.common import InfoExtractor
from yt_dlp.postprocessor.common import PostProcessor
-from yt_dlp.utils import ExtractorError, int_or_none, match_filter_func, LazyList
+from yt_dlp.utils import (
+ ExtractorError,
+ LazyList,
+ int_or_none,
+ match_filter_func,
+)
TEST_URL = 'http://localhost/sample.mp4'