Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-09-10 00:11:55 +00:00
parent 9cc388563d
commit 00a56d1eb0

View File

@@ -338,7 +338,7 @@ async def test_sync_methods_error_with_only_async_client():
# Sync methods that require collection should raise ValueError
with pytest.raises(ValueError, match="async_client"):
chroma._collection # Accessing sync collection property
_ = chroma._collection # Accessing sync collection property
with pytest.raises(ValueError, match="async_client"):
chroma.add_texts(["test"])
@@ -441,3 +441,4 @@ async def test_concurrent_async_operations():
assert all(results[1]) # Second add_texts returned IDs
assert isinstance(results[2], list) # Search returned documents