FIX assert_array_almost_equal in test_image

This commit is contained in:
Olivier Grisel 2016-04-07 09:56:28 +02:00
parent 2efa626f9b
commit e012b7b3e7
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ def test_reconstruct_patches_perfect():
patches = extract_patches_2d(face, (p_h, p_w))
face_reconstructed = reconstruct_from_patches_2d(patches, face.shape)
np.testing.assert_array_equal(face, face_reconstructed)
np.testing.assert_array_almost_equal(face, face_reconstructed)
def test_reconstruct_patches_perfect_color():