Skip to content

Commit d8c196e

Browse files
committedNov 2, 2024
Fix test
1 parent dc9d644 commit d8c196e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/tests/test_fsspec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_dirs(fs: HdfsFileSystem):
1818
fs.mkdir("/testdir/nested/dir")
1919
assert fs.info("/testdir/nested/dir")["type"] == "directory"
2020

21-
with pytest.raises(FileExistsError):
21+
with pytest.raises(RuntimeError):
2222
fs.mkdir("/testdir/nested2/dir", create_parents=False)
2323

2424
with pytest.raises(RuntimeError):

0 commit comments

Comments
 (0)