diff --git a/tests/aliby/pipeline/test_image.py b/tests/aliby/pipeline/test_image.py index 18c46522e119526f20f7d96b7422f90ec5a1425f..f5abe3e57bb1f634b88008723f4c5db4b8471562 100644 --- a/tests/aliby/pipeline/test_image.py +++ b/tests/aliby/pipeline/test_image.py @@ -34,6 +34,6 @@ def test_pad_array(sample_da, dim, n_empty_slices): ] # Checks that original image array is there and is at the last index - assert padded_da.compute()[ix] == sample_da + assert np.array_equal(padded_da.compute()[ix], sample_da) # Checks that the additional axis is extended correctly assert padded_da.compute.shape[dim] == n_empty_slices + 1