Skip to content

Failed

dariah_topics.preprocessing.get_labels (from nosetests)

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

Error Message

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

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 220, in dariah_topics.preprocessing.get_labels
Failed example:
    list(get_labels(['corpus_txt/author_title.txt']))
Expected:
    'author_title'
Got:
    ['author_title']

-------------------- >> begin captured logging << --------------------
preprocessing: INFO: Creating document labels ...
--------------------- >> end captured logging << ---------------------

Stacktrace

  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()))
Failed doctest test for dariah_topics.preprocessing.get_labels
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 203, in get_labels

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 220, in dariah_topics.preprocessing.get_labels
Failed example:
    list(get_labels(['corpus_txt/author_title.txt']))
Expected:
    'author_title'
Got:
    ['author_title']

-------------------- >> begin captured logging << --------------------
preprocessing: INFO: Creating document labels ...
--------------------- >> end captured logging << ---------------------