"vscode:/vscode.git/clone" did not exist on "a339f573f09be219c4ac368b441e3580cd89cf57"
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):
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):
......
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