From 00a56d1eb092a168bfb95f15fb4bbab4b59fa264 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Wed, 10 Sep 2025 00:11:55 +0000 Subject: [PATCH] Apply patch [skip ci] --- .../chroma/tests/unit_tests/test_async_vectorstores.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/partners/chroma/tests/unit_tests/test_async_vectorstores.py b/libs/partners/chroma/tests/unit_tests/test_async_vectorstores.py index b0530b3f9b2..25ba820f125 100644 --- a/libs/partners/chroma/tests/unit_tests/test_async_vectorstores.py +++ b/libs/partners/chroma/tests/unit_tests/test_async_vectorstores.py @@ -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 +