Commit 24900ec9 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed preprocessor test that modified the configuration object and made bob.bio.vide tests fail.

parent 18f3807a
......@@ -109,6 +109,8 @@ def test_face_crop():
assert cropped.shape[1:] == ref_image.shape
assert numpy.allclose(bob.ip.color.rgb_to_gray(cropped), ref_image, atol = 1., rtol = 1.)
# reset the configuration, so that later tests don't get screwed.
cropper.channel = 'gray'
def test_face_detect():
......
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