Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,8 @@ def test_face_crop(): ...@@ -109,6 +109,8 @@ def test_face_crop():
assert cropped.shape[1:] == ref_image.shape assert cropped.shape[1:] == ref_image.shape
assert numpy.allclose(bob.ip.color.rgb_to_gray(cropped), ref_image, atol = 1., rtol = 1.) 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(): def test_face_detect():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment