Skip to content

Commit

Permalink
Fix empty bucket issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Nov 21, 2024
1 parent 86e7cc8 commit 6e220f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tosfs/tests/test_tosfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,6 @@ def test_find(tosfs: TosFileSystem, bucket: str, temporary_workspace: str) -> No
):
tosfs.find("/")

assert len(tosfs.find(bucket, maxdepth=1)) > 0

with pytest.raises(
ValueError,
match="Can not specify 'prefix' option " "alongside 'maxdepth' options.",
Expand Down

0 comments on commit 6e220f5

Please sign in to comment.