Skip to content

Commit d644111

Browse files
committed
fix: remove skipped test that broke test_setitem_repeated_index ordering
1 parent aad1fc7 commit d644111

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/test_indexing.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -443,23 +443,6 @@ def test_orthogonal_indexing_fallback_on_getitem_2d(
443443
np.testing.assert_array_equal(z[index], expected_result)
444444

445445

446-
@pytest.mark.skip(reason="fails on ubuntu, windows; numpy=2.2; in CI")
447-
def test_setitem_zarr_array_as_value() -> None:
448-
# Regression test for https://github.com/zarr-developers/zarr-python/issues/3611
449-
# Assigning a zarr Array as the value used to raise
450-
# SyncError("Calling sync() from within a running loop") because the codec
451-
# pipeline tried to index the zarr array inside an already-running async loop.
452-
src = zarr.array(np.arange(10), chunks=(5,))
453-
dst = zarr.zeros(10, chunks=(5,), dtype=src.dtype)
454-
455-
# Full assignment
456-
dst[:] = src
457-
assert_array_equal(dst[:], np.arange(10))
458-
459-
# Slice assignment
460-
dst2 = zarr.zeros(10, chunks=(5,), dtype=src.dtype)
461-
dst2[2:7] = src[2:7]
462-
assert_array_equal(dst2[2:7], np.arange(2, 7))
463446

464447

465448
def test_setitem_repeated_index():

0 commit comments

Comments
 (0)