Fixed broken unit test.

This commit is contained in:
Davis King 2018-05-19 14:14:43 -04:00
parent 7e7d8e9071
commit 1f727f930b
1 changed files with 1 additions and 0 deletions

View File

@ -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()