Skip to content

Failed

dariah_topics.preprocessing.create_document_list (from nosetests)

Failing for the past 4 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') # doctest: +NORMALIZE_WHITESPACE
Expected:
    ['corpus_txt/Doyle_AScandalinBohemia.txt',         'corpus_txt/Doyle_AStudyinScarlet.txt',         'corpus_txt/Doyle_TheHoundoftheBaskervilles.txt',         'corpus_txt/Doyle_TheSignoftheFour.txt',         'corpus_txt/Howard_GodsoftheNorth.txt',         'corpus_txt/Howard_SchadowsinZamboula.txt',         'corpus_txt/Howard_ShadowsintheMoonlight.txt',         'corpus_txt/Howard_TheDevilinIron.txt',         'corpus_txt/Kipling_TheEndofthePassage.txt',         'corpus_txt/Kipling_TheJungleBook.txt',         'corpus_txt/Kipling_ThyServantaDog.txt',         'corpus_txt/Lovecraft_AttheMountainofMadness.txt',         'corpus_txt/Lovecraft_TheShunnedHouse.txt',         'corpus_txt/Poe_EurekaAProsePoem.txt',         'corpus_txt/Poe_TheCaskofAmontillado.txt',         'corpus_txt/Poe_TheMasqueoftheRedDeath.txt',         'corpus_txt/Poe_ThePurloinedLetter.txt']
Got:
    ['corpus_txt/Poe_EurekaAProsePoem.txt', 'corpus_txt/Howard_GodsoftheNorth.txt', 'corpus_txt/Poe_ThePurloinedLetter.txt', 'corpus_txt/Poe_TheCaskofAmontillado.txt', 'corpus_txt/Howard_TheDevilinIron.txt', 'corpus_txt/Howard_ShadowsintheMoonlight.txt', 'corpus_txt/Doyle_AScandalinBohemia.txt', 'corpus_txt/Lovecraft_TheShunnedHouse.txt', 'corpus_txt/Doyle_AStudyinScarlet.txt', 'corpus_txt/Kipling_ThyServantaDog.txt', 'corpus_txt/Doyle_TheHoundoftheBaskervilles.txt', 'corpus_txt/Doyle_TheSignoftheFour.txt', 'corpus_txt/Poe_TheMasqueoftheRedDeath.txt', 'corpus_txt/Howard_SchadowsinZamboula.txt', 'corpus_txt/Kipling_TheJungleBook.txt', 'corpus_txt/Lovecraft_AttheMountainofMadness.txt', 'corpus_txt/Kipling_TheEndofthePassage.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') # doctest: +NORMALIZE_WHITESPACE
Expected:
    ['corpus_txt/Doyle_AScandalinBohemia.txt',         'corpus_txt/Doyle_AStudyinScarlet.txt',         'corpus_txt/Doyle_TheHoundoftheBaskervilles.txt',         'corpus_txt/Doyle_TheSignoftheFour.txt',         'corpus_txt/Howard_GodsoftheNorth.txt',         'corpus_txt/Howard_SchadowsinZamboula.txt',         'corpus_txt/Howard_ShadowsintheMoonlight.txt',         'corpus_txt/Howard_TheDevilinIron.txt',         'corpus_txt/Kipling_TheEndofthePassage.txt',         'corpus_txt/Kipling_TheJungleBook.txt',         'corpus_txt/Kipling_ThyServantaDog.txt',         'corpus_txt/Lovecraft_AttheMountainofMadness.txt',         'corpus_txt/Lovecraft_TheShunnedHouse.txt',         'corpus_txt/Poe_EurekaAProsePoem.txt',         'corpus_txt/Poe_TheCaskofAmontillado.txt',         'corpus_txt/Poe_TheMasqueoftheRedDeath.txt',         'corpus_txt/Poe_ThePurloinedLetter.txt']
Got:
    ['corpus_txt/Poe_EurekaAProsePoem.txt', 'corpus_txt/Howard_GodsoftheNorth.txt', 'corpus_txt/Poe_ThePurloinedLetter.txt', 'corpus_txt/Poe_TheCaskofAmontillado.txt', 'corpus_txt/Howard_TheDevilinIron.txt', 'corpus_txt/Howard_ShadowsintheMoonlight.txt', 'corpus_txt/Doyle_AScandalinBohemia.txt', 'corpus_txt/Lovecraft_TheShunnedHouse.txt', 'corpus_txt/Doyle_AStudyinScarlet.txt', 'corpus_txt/Kipling_ThyServantaDog.txt', 'corpus_txt/Doyle_TheHoundoftheBaskervilles.txt', 'corpus_txt/Doyle_TheSignoftheFour.txt', 'corpus_txt/Poe_TheMasqueoftheRedDeath.txt', 'corpus_txt/Howard_SchadowsinZamboula.txt', 'corpus_txt/Kipling_TheJungleBook.txt', 'corpus_txt/Lovecraft_AttheMountainofMadness.txt', 'corpus_txt/Kipling_TheEndofthePassage.txt']

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