Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Reduce number of vector process indexers for unit test

davidmezzetti13d620ebd6d2
diff --git a/test/python/testvectors/testwordvectors.py b/test/python/testvectors/testwordvectors.py
index 35a48959..9c072dbc 100644
--- a/test/python/testvectors/testwordvectors.py
+++ b/test/python/testvectors/testwordvectors.py
@@ -47,7 +47,7 @@ class TestWordVectors(unittest.TestCase):
self.assertTrue(model.initialized)
- @patch(os.cpu_count)
+ @patch("os.cpu_count")
def testIndex(self, cpucount):
"""
Test word vector indexing