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
dlib
Commits
1f727f93
Commit
1f727f93
authored
May 19, 2018
by
Davis King
Browse files
Fixed broken unit test.
parent
7e7d8e90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tools/python/test/test_numpy_returns.py
tools/python/test/test_numpy_returns.py
+1
-0
No files found.
tools/python/test/test_numpy_returns.py
View file @
1f727f93
...
@@ -26,6 +26,7 @@ def get_test_face_chip():
...
@@ -26,6 +26,7 @@ def get_test_face_chip():
rgb_img
,
shape
=
get_test_image_and_shape
()
rgb_img
,
shape
=
get_test_image_and_shape
()
return
dlib
.
get_face_chip
(
rgb_img
,
shape
)
return
dlib
.
get_face_chip
(
rgb_img
,
shape
)
@
pytest
.
mark
.
skipif
(
not
utils
.
is_numpy_installed
(),
reason
=
"requires numpy"
)
def
test_partition_pixels
():
def
test_partition_pixels
():
truth
=
(
102
,
159
,
181
);
truth
=
(
102
,
159
,
181
);
img
,
shape
=
get_test_image_and_shape
()
img
,
shape
=
get_test_image_and_shape
()
...
...
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