From 6e220f50a51a57a7ea6a92e108db5c2da3c40c19 Mon Sep 17 00:00:00 2001 From: yanghua Date: Thu, 21 Nov 2024 13:03:56 +0800 Subject: [PATCH] Fix empty bucket issue --- tosfs/tests/test_tosfs.py | 2 -- 1 file changed, 2 deletions(-) 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.",