File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1515 )
1616
1717
18- from numcodecs .tests .common import (check_encode_decode ,
18+ from numcodecs .tests .common import (is_wasm ,
19+ check_encode_decode ,
1920 check_encode_decode_partial ,
2021 check_config ,
2122 check_backwards_compatibility ,
@@ -225,6 +226,10 @@ def _decode_worker(enc):
225226 return data
226227
227228
229+ @pytest .mark .skipif (
230+ is_wasm ,
231+ reason = "WASM/Pyodide does not support multiprocessing"
232+ )
228233@pytest .mark .parametrize ('pool' , (Pool , ThreadPool ))
229234def test_multiprocessing (use_threads , pool ):
230235 data = np .arange (1000000 )
Original file line number Diff line number Diff line change 1414 )
1515
1616
17- from numcodecs .tests .common import (check_encode_decode ,
17+ from numcodecs .tests .common import (is_wasm ,
18+ check_encode_decode ,
1819 check_config ,
1920 check_backwards_compatibility )
2021
@@ -92,6 +93,10 @@ def _decode_worker(enc):
9293 return data
9394
9495
96+ @pytest .mark .skipif (
97+ is_wasm ,
98+ reason = "WASM/Pyodide does not support multiprocessing"
99+ )
95100@pytest .mark .parametrize ('pool' , (Pool , ThreadPool ))
96101def test_multiprocessing (pool ):
97102 data = np .arange (1000000 )
You can’t perform that action at this time.
0 commit comments