Failed
dariah_topics.mallet.show_topics_keys (from nosetests)
Failing for the past 2 builds
(Since Failed )
Error Message
Failed doctest test for dariah_topics.mallet.show_topics_keys File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 504, in show_topics_keys ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 518, in dariah_topics.mallet.show_topics_keys Failed example: df = show_topics_keys(output_folder, num_topics=10) 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.mallet.show_topics_keys[1]>", line 1, in <module> df = show_topics_keys(output_folder, num_topics=10) NameError: name 'output_folder' is not defined ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 519, in dariah_topics.mallet.show_topics_keys Failed example: len(df) 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.mallet.show_topics_keys[2]>", line 1, in <module> len(df) 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.mallet.show_topics_keys File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 504, in show_topics_keys ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 518, in dariah_topics.mallet.show_topics_keys Failed example: df = show_topics_keys(output_folder, num_topics=10) 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.mallet.show_topics_keys[1]>", line 1, in <module> df = show_topics_keys(output_folder, num_topics=10) NameError: name 'output_folder' is not defined ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 519, in dariah_topics.mallet.show_topics_keys Failed example: len(df) 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.mallet.show_topics_keys[2]>", line 1, in <module> len(df) NameError: name 'df' is not defined