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:
parent
9d00bd01ce
commit
fb332f6908
@ -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',
|
||||
}]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user