Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
c16fab7e
Commit
c16fab7e
authored
Sep 26, 2018
by
xiongyu
Browse files
minor change: value error to index error
parent
2ab73c85
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_video.py
tests/test_video.py
+1
-1
No files found.
tests/test_video.py
View file @
c16fab7e
...
@@ -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
(
Value
Error
):
with
pytest
.
raises
(
Index
Error
):
v
.
get_frame
(
self
.
num_frames
+
1
)
v
.
get_frame
(
self
.
num_frames
+
1
)
def
test_slice
(
self
):
def
test_slice
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment