Skip to content

Commit b6713ca

Browse files
Skip codec entrypoint test that requires processes
1 parent 0847241 commit b6713ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

numcodecs/tests/test_entrypoints_backport.py

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

88
import numcodecs.registry
9+
from numcodecs.tests.common import is_wasm
910

1011
if not importlib.util.find_spec("importlib_metadata").loader: # pragma: no cover
1112
pytest.skip(
@@ -28,6 +29,7 @@ def get_entrypoints_with_importlib_metadata_loaded():
2829
assert cls.codec_id == "test"
2930

3031

32+
@pytest.mark.skipif(is_wasm, reason="Threads are not supported in Pyodide/WASM")
3133
def test_entrypoint_codec_with_importlib_metadata():
3234
p = Process(target=get_entrypoints_with_importlib_metadata_loaded)
3335
p.start()

0 commit comments

Comments
 (0)