Skip to content

Commit 7b53141

Browse files
Skip tests which use dbm from stdlib
1 parent 15cdb46 commit 7b53141

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zarr/tests/test_core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
have_fsspec,
9090
have_lmdb,
9191
have_sqlite3,
92+
is_wasm,
9293
mktemp,
9394
skip_test_env_var,
9495
)
@@ -2045,6 +2046,7 @@ def create_store(self):
20452046
return store
20462047

20472048

2049+
@pytest.mark.skipif(is_wasm(), reason="dbm not available in Pyodide/WASM")
20482050
class TestArrayWithDBMStore(TestArray):
20492051
def create_store(self):
20502052
path = mktemp(suffix=".anydbm")

0 commit comments

Comments
 (0)