Failed
dariah_topics.preprocessing.segment_fuzzy (from nosetests)
Failing for the past 1 build
(Since Failed )
Error Message
Failed doctest test for dariah_topics.preprocessing.segment_fuzzy File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 254, in segment_fuzzy ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 276, in dariah_topics.preprocessing.segment_fuzzy Failed example: list(segment_fuzzy([['This', 'test', 'is', 'very', 'clear'], ['and', 'contains', 'chunks']], 2)) Expected: [[['This', 'test']], [['is', 'very']], [['clear'], ['and']], [['contains', 'chunks']]] Got: [[['This', 'test']], [['is', 'very']], [['clear'], ['and']], [['contains', 'chunks']]]
Stacktrace
Traceback (most recent call last): File "/usr/lib/python3.5/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.5/unittest/case.py", line 601, in run testMethod() File "/usr/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for dariah_topics.preprocessing.segment_fuzzy File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 254, in segment_fuzzy ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 276, in dariah_topics.preprocessing.segment_fuzzy Failed example: list(segment_fuzzy([['This', 'test', 'is', 'very', 'clear'], ['and', 'contains', 'chunks']], 2)) Expected: [[['This', 'test']], [['is', 'very']], [['clear'], ['and']], [['contains', 'chunks']]] Got: [[['This', 'test']], [['is', 'very']], [['clear'], ['and']], [['contains', 'chunks']]]