Skip to content

Commit 54f0db8

Browse files
Temporary: skip Zarr async functionality tests
1 parent 55a2690 commit 54f0db8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

numcodecs/tests/test_zarr3.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ def test_generic_filter(
116116
np.testing.assert_array_equal(data, a[:, :])
117117

118118

119+
# TODO: undo skips here when we can test async code
120+
@pytest.mark.skipif(is_wasm, reason="testing async code not yet supported in Pyodide/WASM")
119121
def test_generic_filter_bitround(store: Store):
120122
data = np.linspace(0, 1, 256, dtype="float32").reshape((16, 16))
121123

@@ -134,6 +136,8 @@ def test_generic_filter_bitround(store: Store):
134136
assert np.allclose(data, a[:, :], atol=0.1)
135137

136138

139+
# TODO: undo skips here when we can test async code
140+
@pytest.mark.skipif(is_wasm, reason="testing async code not yet supported in Pyodide/WASM")
137141
def test_generic_filter_quantize(store: Store):
138142
data = np.linspace(0, 10, 256, dtype="float32").reshape((16, 16))
139143

@@ -152,6 +156,8 @@ def test_generic_filter_quantize(store: Store):
152156
assert np.allclose(data, a[:, :], atol=0.001)
153157

154158

159+
# TODO: undo skips here when we can test async code
160+
@pytest.mark.skipif(is_wasm, reason="testing async code not yet supported in Pyodide/WASM")
155161
def test_generic_filter_packbits(store: Store):
156162
data = np.zeros((16, 16), dtype="bool")
157163
data[0:4, :] = True
@@ -181,6 +187,8 @@ def test_generic_filter_packbits(store: Store):
181187
)
182188

183189

190+
# TODO: undo skips here when we can test async code
191+
@pytest.mark.skipif(is_wasm, reason="testing async code not yet supported in Pyodide/WASM")
184192
@pytest.mark.parametrize(
185193
"codec_class",
186194
[

0 commit comments

Comments
 (0)