Skip to content

Commit 9095e04

Browse files
committed
no more warn
1 parent ef6b919 commit 9095e04

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_array.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,7 @@ def test_resize_1d(store: MemoryStore, zarr_format: int) -> None:
453453

454454
# via shape setter
455455
new_shape = (105,)
456-
with pytest.warns(DeprecationWarning):
457-
z.shape = new_shape
456+
z.shape = new_shape
458457
assert new_shape == z.shape
459458
assert new_shape == z[:].shape
460459

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

517516
# via shape setter
518517
new_shape = (105, 105)
519-
with pytest.warns(DeprecationWarning):
520-
z.shape = new_shape
518+
z.shape = new_shape
521519
assert new_shape == z.shape
522520
assert new_shape == z[:].shape
523521

0 commit comments

Comments
 (0)