Skip to content

Failed

dariah_topics.preprocessing.segment (from nosetests)

Failing for the past 1 build (Since Failed#166 )
Took 0 ms.

Error Message

Failed doctest test for dariah_topics.preprocessing.segment
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 320, in segment

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 341, in dariah_topics.preprocessing.segment
Failed example:
    list(segment([['This', 'test', 'is', 'very', 'clear'],
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.5/doctest.py", line 1321, in __run
        compileflags, 1), test.globs)
      File "<doctest dariah_topics.preprocessing.segment[0]>", line 1
        list(segment([['This', 'test', 'is', 'very', 'clear'],
                                                             ^
    SyntaxError: unexpected EOF while parsing

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
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 320, in segment

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 341, in dariah_topics.preprocessing.segment
Failed example:
    list(segment([['This', 'test', 'is', 'very', 'clear'],
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.5/doctest.py", line 1321, in __run
        compileflags, 1), test.globs)
      File "<doctest dariah_topics.preprocessing.segment[0]>", line 1
        list(segment([['This', 'test', 'is', 'very', 'clear'],
                                                             ^
    SyntaxError: unexpected EOF while parsing