Skip to content

Commit

Permalink
Skip two more FS failures on WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Mar 5, 2024
1 parent 9fe1904 commit 3f07fa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas/tests/io/parser/common/test_file_buffer_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/io/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3f07fa9

Please sign in to comment.