Skip to content

Commit 6fb3dc4

Browse files
xfail two tests with size overflows for now
1 parent fd25497 commit 6fb3dc4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/test_zstd.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
check_err_decode_object_buffer,
1313
check_err_encode_object_buffer,
1414
check_repr,
15+
is_wasm,
1516
)
1617

1718
codecs = [
@@ -88,6 +89,9 @@ def test_native_functions():
8889
assert Zstd.max_level() == 22
8990

9091

92+
@pytest.mark.xfail(
93+
is_wasm, reason="Streaming frames with unknown content size overflow on 32-bit WASM"
94+
)
9195
def test_streaming_decompression():
9296
# Test input frames with unknown frame content size
9397
codec = Zstd()
@@ -161,6 +165,9 @@ def zstd_cli_available() -> bool:
161165
return False
162166

163167

168+
@pytest.mark.xfail(
169+
is_wasm, reason="Multi-frame decompression with unknown-size frames fails on 32-bit WASM"
170+
)
164171
def test_multi_frame():
165172
codec = Zstd()
166173

0 commit comments

Comments
 (0)