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 +