minor change: value error to index error

pull/9/head
xiongyu 2018-09-26 22:16:11 +08:00
parent 2ab73c85ee
commit c16fab7eca
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class TestVideo(object):
assert int(round(img.mean())) == 94
img = v.read()
assert int(round(img.mean())) == 205
with pytest.raises(ValueError):
with pytest.raises(IndexError):
v.get_frame(self.num_frames + 1)
def test_slice(self):