diff --git a/pycoast/tests/test_pycoast.py b/pycoast/tests/test_pycoast.py index c8a1681..4d144bc 100644 --- a/pycoast/tests/test_pycoast.py +++ b/pycoast/tests/test_pycoast.py @@ -324,10 +324,7 @@ def _new_test_image(mode, shape, filename, color=0): def images_match(ref_image, test_image): """Check is images match.""" - res = fft_metric(np.array(ref_image), np.array(test_image)) - if not res: - test_image.save(ref_image.filename) - return res + return fft_metric(np.array(ref_image), np.array(test_image)) class _ContourWriterTestBase: