Failed
dariah_topics.preprocessing.read_from_tei (from nosetests)
Failing for the past 7 builds
(Since Failed )
Error Message
Failed doctest test for dariah_topics.preprocessing.read_from_tei File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 100, in read_from_tei ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 120, in dariah_topics.preprocessing.read_from_tei Failed example: list(read_from_tei('corpus_tei/Schnitzler_Amerika.xml'))[0][143:160] Expected: 'Arthur Schnitzler' Got: 'rthur Schnitzler\n' ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 123, in dariah_topics.preprocessing.read_from_tei Failed example: list(read_from_tei(doclist))[0][142:159] Expected: 'Arthur Schnitzler' Got: ' \nArthur Schnitz' -------------------- >> begin captured logging << -------------------- preprocessing: INFO: Accessing TEI XML documents ... preprocessing: INFO: Creating document list from XML files ... preprocessing: INFO: Accessing TEI XML 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_tei File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 100, in read_from_tei ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 120, in dariah_topics.preprocessing.read_from_tei Failed example: list(read_from_tei('corpus_tei/Schnitzler_Amerika.xml'))[0][143:160] Expected: 'Arthur Schnitzler' Got: 'rthur Schnitzler\n' ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 123, in dariah_topics.preprocessing.read_from_tei Failed example: list(read_from_tei(doclist))[0][142:159] Expected: 'Arthur Schnitzler' Got: ' \nArthur Schnitz' -------------------- >> begin captured logging << -------------------- preprocessing: INFO: Accessing TEI XML documents ... preprocessing: INFO: Creating document list from XML files ... preprocessing: INFO: Accessing TEI XML documents ... --------------------- >> end captured logging << ---------------------