Skip to content

Commit

Permalink
Skip Docling tests for macOS due to MPS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Dec 3, 2024
1 parent 9efc9ba commit 1aa6c50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/python/testpipeline/testdata/testtextractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Textractor module tests
"""

import platform
import unittest

from txtai.pipeline import Textractor
Expand Down Expand Up @@ -49,6 +50,7 @@ def testDefault(self):
# 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
Expand Down

0 comments on commit 1aa6c50

Please sign in to comment.