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 testSummaryBatch with Windows tests

davidmezzetticc3a765a2be2
diff --git a/test/python/testsummary.py b/test/python/testsummary.py
index 144521c4..ccd972a9 100644
--- a/test/python/testsummary.py
+++ b/test/python/testsummary.py
@@ -2,6 +2,7 @@
Summary module tests
"""
+import os
import unittest
from txtai.pipeline import Summary
@@ -36,6 +37,7 @@ class TestSummary(unittest.TestCase):
self.assertEqual(self.summary(self.text, minlength=15, maxlength=15), "txtai is an AI-powered search engine that")
+ @unittest.skipIf(os.name == "nt", "testSummaryBatch skipped on Windows")
def testSummaryBatch(self):
"""
Test batch summarization of text