1
0
Fork 0

[outtmpl] Support multiplication

Related: #8683
This commit is contained in:
pukkandan 2023-12-06 03:44:11 +05:30
commit 993edd3f6e
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
3 changed files with 3 additions and 1 deletions

View file

@ -797,6 +797,7 @@ class TestYoutubeDL(unittest.TestCase):
test('%(title|%)s %(title|%%)s', '% %%')
test('%(id+1-height+3)05d', '00158')
test('%(width+100)05d', 'NA')
test('%(filesize*8)d', '8192')
test('%(formats.0) 15s', ('% 15s' % FORMATS[0], None))
test('%(formats.0)r', (repr(FORMATS[0]), None))
test('%(height.0)03d', '001')