Skip to content

Commit fdb2bef

Browse files
Skip some tests that use threading
1 parent d227728 commit fdb2bef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/v2/test_sync.py

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import numpy as np
1010
from numpy.testing import assert_array_equal
11+
import pytest
1112

1213
from zarr.v2.attrs import Attributes
1314
from zarr.v2.core import Array
@@ -20,7 +21,10 @@
2021
from .test_core import TestArray
2122
from .test_hierarchy import TestGroup
2223

24+
from tests._shared import IS_WASM
2325

26+
27+
@pytest.mark.skipif(IS_WASM, reason="no threading support in WASM")
2428
class TestAttributesWithThreadSynchronizer(TestAttributes):
2529
def init_attributes(self, store, read_only=False, cache=True):
2630
key = ".zattrs"
@@ -30,6 +34,7 @@ def init_attributes(self, store, read_only=False, cache=True):
3034
)
3135

3236

37+
@pytest.mark.skipif(IS_WASM, reason="no threading support in WASM")
3338
class TestAttributesProcessSynchronizer(TestAttributes):
3439
def init_attributes(self, store, read_only=False, cache=True):
3540
key = ".zattrs"

0 commit comments

Comments
 (0)