Skip to content

Commit

Permalink
no more warn
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman committed Oct 21, 2024
1 parent ef6b919 commit 9095e04
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,7 @@ def test_resize_1d(store: MemoryStore, zarr_format: int) -> None:

# via shape setter
new_shape = (105,)
with pytest.warns(DeprecationWarning):
z.shape = new_shape
z.shape = new_shape
assert new_shape == z.shape
assert new_shape == z[:].shape

Expand Down Expand Up @@ -516,8 +515,7 @@ def test_resize_2d(store: MemoryStore, zarr_format: int) -> None:

# via shape setter
new_shape = (105, 105)
with pytest.warns(DeprecationWarning):
z.shape = new_shape
z.shape = new_shape
assert new_shape == z.shape
assert new_shape == z[:].shape

Expand Down

0 comments on commit 9095e04

Please sign in to comment.