mirror of https://github.com/davisking/dlib.git
Fixed broken unit test.
This commit is contained in:
parent
7e7d8e9071
commit
1f727f930b
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue