1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

[test:devalue] add Python negative indexing test

Authored by: bashonly
This commit is contained in:
bashonly 2025-06-11 02:33:27 -05:00
parent 9d00bd01ce
commit fb332f6908
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -171,6 +171,11 @@
'unparsed': [],
'error': IndexError,
'pattern': r'list index out of range',
}, {
'name': 'Python negative indexing',
'unparsed': [[1, 2, 3, 4, 5, 6, 7, -7], 1, 2, 3, 4, 5, 6, 7],
'error': IndexError,
'pattern': r'invalid index: -7',
}]