Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Update test

davidmezzetti9bd2da72133c
diff --git a/test/python/testpipeline/testdata/testtextractor.py b/test/python/testpipeline/testdata/testtextractor.py
index 30589172..f58040f2 100644
--- a/test/python/testpipeline/testdata/testtextractor.py
+++ b/test/python/testpipeline/testdata/testtextractor.py
@@ -2,6 +2,7 @@
Textractor module tests
"""
+import platform
import unittest
from txtai.pipeline import Textractor
@@ -49,6 +50,7 @@ class TestTextractor(unittest.TestCase):
# Check number of sections is as expected
self.assertEqual(len(sections), 2)
+ @unittest.skipIf(platform.system() == "Darwin", "Docling skipped on macOS to avoid MPS issues")
def testDocling(self):
"""
Test docling backend