Skip to content

Commit 3f07fa9

Browse files
Skip two more FS failures on WASM
1 parent 9fe1904 commit 3f07fa9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pandas/tests/io/parser/common/test_file_buffer_url.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ def test_nonexistent_path(all_parsers):
9393
assert path == e.value.filename
9494

9595

96+
@td.skip_if_wasm # limited file system access on WASM, it leads to different
97+
# error messages than on other platforms
9698
@td.skip_if_windows # os.chmod does not work in windows
9799
def test_no_permission(all_parsers):
98100
# GH 23784

pandas/tests/io/test_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ def test_constructor_bad_file(self, mmap_file):
408408
with pytest.raises(ValueError, match=msg):
409409
icom._maybe_memory_map(target, True)
410410

411+
@td.skip_if_wasm # limited file system access on WASM
411412
def test_next(self, mmap_file):
412413
with open(mmap_file, encoding="utf-8") as target:
413414
lines = target.readlines()

0 commit comments

Comments
 (0)