Skip to content

Commit c33c858

Browse files
committed
update to be deprecated np.alltrue function to fix test warnings
1 parent 8b6bbbc commit c33c858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_shape(self, mock_reader, mock_data):
4444

4545
def test_live_mask(self, mock_reader):
4646
"""Check if live mask is full as expected."""
47-
assert np.alltrue(mock_reader.live_mask[:])
47+
assert np.all(mock_reader.live_mask[:])
4848

4949
@pytest.mark.parametrize(
5050
"il_coord, il_index, xl_coord, xl_index, z_coord, z_index",

0 commit comments

Comments
 (0)