diff --git a/pandas/tests/io/parser/common/test_file_buffer_url.py b/pandas/tests/io/parser/common/test_file_buffer_url.py index 4d63a88582fb8..782a75caac0ae 100644 --- a/pandas/tests/io/parser/common/test_file_buffer_url.py +++ b/pandas/tests/io/parser/common/test_file_buffer_url.py @@ -93,6 +93,8 @@ def test_nonexistent_path(all_parsers): assert path == e.value.filename +@td.skip_if_wasm # limited file system access on WASM, it leads to different +# error messages than on other platforms @td.skip_if_windows # os.chmod does not work in windows def test_no_permission(all_parsers): # GH 23784 diff --git a/pandas/tests/io/test_common.py b/pandas/tests/io/test_common.py index bab2cb1dfa93e..3f7a662fba375 100644 --- a/pandas/tests/io/test_common.py +++ b/pandas/tests/io/test_common.py @@ -408,6 +408,7 @@ def test_constructor_bad_file(self, mmap_file): with pytest.raises(ValueError, match=msg): icom._maybe_memory_map(target, True) + @td.skip_if_wasm # limited file system access on WASM def test_next(self, mmap_file): with open(mmap_file, encoding="utf-8") as target: lines = target.readlines()