Skip to content

Commit a6f5057

Browse files
committed
feat: Adding support Multimodal embedders.
1 parent cebf135 commit a6f5057

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/client/test_multimodal.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ def clear_indexes(self, client):
151151
try:
152152
task = client.index(index.uid).delete()
153153
client.wait_for_task(task.task_uid)
154-
except (MeilisearchApiError, Exception): # pylint: disable=broad-exception-caught
155-
# Ignore errors when deleting indexes (may not exist)
156-
pass
154+
except MeilisearchApiError as exc:
155+
# Index may already have been deleted by another test run; log and continue.
156+
print(f"Warning: failed to delete index {index.uid} during cleanup: {exc}")
157157

158158
@pytest.fixture(scope="class", autouse=True)
159159
def setup_index(self, request):

0 commit comments

Comments
 (0)