Failed
dariah_topics.preprocessing.find_stopwords (from nosetests)
Failing for the past 1 build
(Since Failed )
Error Message
Failed doctest test for dariah_topics.preprocessing.find_stopwords File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 469, in find_stopwords ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 491, in dariah_topics.preprocessing.find_stopwords Failed example: sparse_bow = create_sparse_matrix(doc_labels, doc_tokens, type_dictionary, doc_ids) 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.preprocessing.find_stopwords[4]>", line 1, in <module> sparse_bow = create_sparse_matrix(doc_labels, doc_tokens, type_dictionary, doc_ids) NameError: name 'type_dictionary' is not defined ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 492, in dariah_topics.preprocessing.find_stopwords Failed example: find_stopwords(sparse_bow, id_types, 1) 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.preprocessing.find_stopwords[5]>", line 1, in <module> find_stopwords(sparse_bow, id_types, 1) NameError: name 'sparse_bow' 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.preprocessing.find_stopwords File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 469, in find_stopwords ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 491, in dariah_topics.preprocessing.find_stopwords Failed example: sparse_bow = create_sparse_matrix(doc_labels, doc_tokens, type_dictionary, doc_ids) 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.preprocessing.find_stopwords[4]>", line 1, in <module> sparse_bow = create_sparse_matrix(doc_labels, doc_tokens, type_dictionary, doc_ids) NameError: name 'type_dictionary' is not defined ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 492, in dariah_topics.preprocessing.find_stopwords Failed example: find_stopwords(sparse_bow, id_types, 1) 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.preprocessing.find_stopwords[5]>", line 1, in <module> find_stopwords(sparse_bow, id_types, 1) NameError: name 'sparse_bow' is not defined