]> jfr.im git - yt-dlp.git/blobdiff - test/test_YoutubeDL.py
[compat] Remove deprecated functions from core code
[yt-dlp.git] / test / test_YoutubeDL.py
index 44e8f2917b8a89ea32a3e8e10a45b8f35a2defce..1eb3abc17f712213848d51699e7cc92dab2dcde9 100644 (file)
@@ -14,7 +14,7 @@
 
 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 PlaylistIE(InfoExtractor):
 
             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(),