Skip to content

Failed

dariah_topics.preprocessing.create_document_list (from nosetests)

Failing for the past 5 builds (Since Failed#166 )
Took 1 ms.

Error Message

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

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 55, in dariah_topics.preprocessing.create_document_list
Failed example:
    create_document_list('corpus_txt')[0]
Expected:
    'corpus_txt/Doyle_AScandalinBohemia.txt'
Got:
    'corpus_txt/Poe_EurekaAProsePoem.txt'

-------------------- >> begin captured logging << --------------------
preprocessing: INFO: Creating document list from TXT files ...
--------------------- >> 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.create_document_list
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 37, in create_document_list

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 55, in dariah_topics.preprocessing.create_document_list
Failed example:
    create_document_list('corpus_txt')[0]
Expected:
    'corpus_txt/Doyle_AScandalinBohemia.txt'
Got:
    'corpus_txt/Poe_EurekaAProsePoem.txt'

-------------------- >> begin captured logging << --------------------
preprocessing: INFO: Creating document list from TXT files ...
--------------------- >> end captured logging << ---------------------