diff --git a/tosfs/tests/test_tosfs.py b/tosfs/tests/test_tosfs.py index 93feec2..5f6dc4b 100644 --- a/tosfs/tests/test_tosfs.py +++ b/tosfs/tests/test_tosfs.py @@ -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.",