Skip to content

Failed

dariah_topics.preprocessing.read_from_txt (from nosetests)

Failing for the past 2 builds (Since Failed#166 )
Took 3 ms.

Error Message

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

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 106, in dariah_topics.preprocessing.read_from_txt
Failed example:
    list(read_from_txt(doclist))[0][:20]
Expected:
    'A SCANDAL IN BOHEMIA'
Got:
    '\t\t\t\tEUREKA:\n        '

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

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 106, in dariah_topics.preprocessing.read_from_txt
Failed example:
    list(read_from_txt(doclist))[0][:20]
Expected:
    'A SCANDAL IN BOHEMIA'
Got:
    '\t\t\t\tEUREKA:\n        '

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