Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Skip test on Windows due to lack of mmap support

davidmezzetti8bee0184f31a
diff --git a/test/python/testann.py b/test/python/testann.py
index 53244ee3..a43b4a30 100644
--- a/test/python/testann.py
+++ b/test/python/testann.py
@@ -46,6 +46,7 @@ class TestANN(unittest.TestCase):
# Test with custom settings
self.runTests("faiss", {"faiss": {"nprobe": 2, "components": "PCA16,IDMap,SQ8"}}, False)
+ @unittest.skipIf(os.name == "nt", "mmap not supported on Windows")
def testFaissMmap(self):
"""
Test Faiss backend with mmap enabled