Skip to content

Failed

dariah_topics.postprocessing._show_mallet_doc_topics (from nosetests)

Failing for the past 2 builds (Since Failed#383 )
Took 1 ms.

Error Message

Failed doctest test for dariah_topics.postprocessing._show_mallet_doc_topics
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py", line 452, in _show_mallet_doc_topics

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py", line 463, in dariah_topics.postprocessing._show_mallet_doc_topics
Failed example:
    df = show_doc_topic_matrix(outfolder)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.5/doctest.py", line 1321, in __run
        compileflags, 1), test.globs)
      File "<doctest dariah_topics.postprocessing._show_mallet_doc_topics[1]>", line 1, in <module>
        df = show_doc_topic_matrix(outfolder)
    NameError: name 'show_doc_topic_matrix' is not defined
----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py", line 464, in dariah_topics.postprocessing._show_mallet_doc_topics
Failed example:
    len(df.T)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.5/doctest.py", line 1321, in __run
        compileflags, 1), test.globs)
      File "<doctest dariah_topics.postprocessing._show_mallet_doc_topics[2]>", line 1, in <module>
        len(df.T)
    NameError: name 'df' is not defined

Stacktrace

Traceback (most recent call last):
  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()))
AssertionError: Failed doctest test for dariah_topics.postprocessing._show_mallet_doc_topics
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py", line 452, in _show_mallet_doc_topics

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py", line 463, in dariah_topics.postprocessing._show_mallet_doc_topics
Failed example:
    df = show_doc_topic_matrix(outfolder)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.5/doctest.py", line 1321, in __run
        compileflags, 1), test.globs)
      File "<doctest dariah_topics.postprocessing._show_mallet_doc_topics[1]>", line 1, in <module>
        df = show_doc_topic_matrix(outfolder)
    NameError: name 'show_doc_topic_matrix' is not defined
----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py", line 464, in dariah_topics.postprocessing._show_mallet_doc_topics
Failed example:
    len(df.T)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.5/doctest.py", line 1321, in __run
        compileflags, 1), test.globs)
      File "<doctest dariah_topics.postprocessing._show_mallet_doc_topics[2]>", line 1, in <module>
        len(df.T)
    NameError: name 'df' is not defined