mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-24 05:50:18 +00:00
x
This commit is contained in:
@@ -22,6 +22,7 @@ class TestDocumentIndexerTestSuite(DocumentIndexerTestSuite):
|
||||
|
||||
|
||||
class TestAsyncDocumentIndexerTestSuite(AsyncDocumentIndexerTestSuite):
|
||||
# Something funky is going on with mypy and async pytest fixture
|
||||
@pytest.fixture()
|
||||
async def indexer(self) -> AsyncGenerator[AsyncDocumentIndexer, None]:
|
||||
async def indexer(self) -> AsyncGenerator[AsyncDocumentIndexer, None]: # type: ignore
|
||||
yield AsyncInMemoryDocumentIndexer()
|
||||
|
||||
Reference in New Issue
Block a user