This commit is contained in:
7x11x13
2025-01-07 15:49:50 -05:00
parent a6068e695c
commit 200d27682d
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -720,7 +720,7 @@ class TestYoutubeDL(unittest.TestCase):
ydl._num_downloads = 1
self.assertEqual(ydl.validate_outtmpl(tmpl), None)
out = ydl.evaluate_outtmpl_for_filename(tmpl, info or self.outtmpl_info)
out = ydl.evaluate_outtmpl(tmpl, info or self.outtmpl_info, trim_filename=True)
fname = ydl.prepare_filename(info or self.outtmpl_info)
if not isinstance(expected, (list, tuple)):