Skip to content

Commit 245134b

Browse files
committed
test: fixed unit tests for NumPy 2
1 parent 673741b commit 245134b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_attribute_value_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def test_getitem_numpy_boolean_mask(items: AVL):
187187
assert isinstance(sublist, ndarray)
188188
assert sublist.tolist() == [1, 2, 4]
189189

190-
with raises(IndexError, match="boolean dimension"):
190+
with raises(IndexError, match="boolean index"):
191191
mask = array([False] * (len(items) - 1))
192192
sublist[mask]
193193

0 commit comments

Comments
 (0)