Commit c16fab7e authored by xiongyu's avatar xiongyu
Browse files

minor change: value error to index error

parent 2ab73c85
...@@ -66,7 +66,7 @@ class TestVideo(object): ...@@ -66,7 +66,7 @@ class TestVideo(object):
assert int(round(img.mean())) == 94 assert int(round(img.mean())) == 94
img = v.read() img = v.read()
assert int(round(img.mean())) == 205 assert int(round(img.mean())) == 205
with pytest.raises(ValueError): with pytest.raises(IndexError):
v.get_frame(self.num_frames + 1) v.get_frame(self.num_frames + 1)
def test_slice(self): def test_slice(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment