Failed
dariah_topics.preprocessing.create_sparse_matrix (from nosetests)
Failing for the past 2 builds
(Since Failed )
Error Message
Failed doctest test for dariah_topics.preprocessing.create_sparse_matrix File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 415, in create_sparse_matrix ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 445, in dariah_topics.preprocessing.create_sparse_matrix Failed example: create_sparse_matrix(doc_labels, doc_tokens, type_dictionary, doc_ids) # doctest: +NORMALIZE_WHITESPACE Expected: 0 doc_id token_id 1 1 1 2 1 3 1 [3 rows x 1 columns] Got: 0 doc_id token_id 1 1 1 2 1 3 1
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.create_sparse_matrix File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 415, in create_sparse_matrix ---------------------------------------------------------------------- File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 445, in dariah_topics.preprocessing.create_sparse_matrix Failed example: create_sparse_matrix(doc_labels, doc_tokens, type_dictionary, doc_ids) # doctest: +NORMALIZE_WHITESPACE Expected: 0 doc_id token_id 1 1 1 2 1 3 1 [3 rows x 1 columns] Got: 0 doc_id token_id 1 1 1 2 1 3 1