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