diff --git a/tosfs/tests/test_fsspec_api.py b/tosfs/tests/test_fsspec_api.py index 6110ff9..833d478 100644 --- a/tosfs/tests/test_fsspec_api.py +++ b/tosfs/tests/test_fsspec_api.py @@ -860,14 +860,6 @@ def test_tail(fsspecfs: Any, bucket: str, temporary_workspace: str): with pytest.raises(FileNotFoundError): fsspecfs.tail(non_exist_path, 3) - dir_name = random_str() - path = f"{bucket}/{temporary_workspace}/{dir_name}" - fsspecfs.mkdir(path) - assert fsspecfs.exists(path) - - with pytest.raises(IsADirectoryError): - fsspecfs.tail(path, 3) - def test_size(fsspecfs: Any, bucket: str, temporary_workspace: str): file_name = random_str()