diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-24 16:24:43 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-25 00:14:12 +0530 |
commit | 14f25df2b6233553e968df023430ca96c0b1df9f (patch) | |
tree | c611d59d4462820a9e99726b9179811ed88a35b8 /test/test_YoutubeDL.py | |
parent | 54007a45f11ed730352324289b714baefd2901eb (diff) | |
download | hypervideo-pre-14f25df2b6233553e968df023430ca96c0b1df9f.tar.lz hypervideo-pre-14f25df2b6233553e968df023430ca96c0b1df9f.tar.xz hypervideo-pre-14f25df2b6233553e968df023430ca96c0b1df9f.zip |
[compat] Remove deprecated functions from core code
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r-- | test/test_YoutubeDL.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index 44e8f2917..1eb3abc17 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -14,7 +14,7 @@ import urllib.error from test.helper import FakeYDL, assertRegexpMatches from yt_dlp import YoutubeDL -from yt_dlp.compat import compat_os_name, compat_str +from yt_dlp.compat import compat_os_name from yt_dlp.extractor import YoutubeIE from yt_dlp.extractor.common import InfoExtractor from yt_dlp.postprocessor.common import PostProcessor @@ -1185,7 +1185,7 @@ class TestYoutubeDL(unittest.TestCase): def _entries(self): for n in range(3): - video_id = compat_str(n) + video_id = str(n) yield { '_type': 'url_transparent', 'ie_key': VideoIE.ie_key(), |