Skip to content

Commit

Permalink
Added error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vhaasteren committed Nov 17, 2023
1 parent 8496cef commit b9a3bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_indices_from_slice(self):
ind_np_check = utils.indices_from_slice(ind_np)

msg1 = "Numpy indices not left as-is by indices_from_slice"
assert np.all(ind_np == ind_np_check)
assert np.all(ind_np == ind_np_check), msg1

slc = slice(2, 10, 2)
ind_np_check = utils.indices_from_slice(slc)
Expand Down

0 comments on commit b9a3bcc

Please sign in to comment.