Skip to content

Commit 55a2690

Browse files
Skip a test that requires threads
1 parent d6c43ef commit 55a2690

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

numcodecs/tests/test_zarr3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import pytest
55

66
import numcodecs.zarr3
7+
from numcodecs.tests.common import is_wasm
78

89
zarr = pytest.importorskip("zarr")
910

@@ -46,6 +47,7 @@ def test_docstring(codec_class: type[numcodecs.zarr3._NumcodecsCodec]):
4647
assert "See :class:`numcodecs." in codec_class.__doc__
4748

4849

50+
@pytest.mark.skipif(is_wasm, reason="Threads are not supported in Pyodide/WASM")
4951
@pytest.mark.parametrize(
5052
"codec_class",
5153
[

0 commit comments

Comments
 (0)