Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimahriman committed Jan 12, 2025
1 parent 64c3054 commit dd0b10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test_fsspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_dirs(fs: HdfsFileSystem):
fs.mkdir("/testdir/nested/dir")
assert fs.info("/testdir/nested/dir")["type"] == "directory"

with pytest.raises(RuntimeError):
with pytest.raises(FileNotFoundError):
fs.mkdir("/testdir/nested2/dir", create_parents=False)

with pytest.raises(RuntimeError):
Expand Down

0 comments on commit dd0b10b

Please sign in to comment.