Skip to content

Failed

dariah_topics.postprocessing.dariah_topics.postprocessing.save_model (from pytest)

Failing for the past 3 builds (Since Failed#519 )
Took 2 ms.

Error Message

157  158     Returns: 159         None. 160  161     Example: 162         >>> from lda import LDA 163         >>> from gensim.models import LdaModel 164         >>> from cophi_toolbox import preprocessing 165         >>> save_model(LDA, 'model.pickle') 166         >>> preprocessing.read_model('model.pickle') == LDA UNEXPECTED EXCEPTION: AttributeError("module 'cophi_toolbox.preprocessing' has no attribute 'read_model'",) 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.save_model[4]>", line 1, in <module>  AttributeError: module 'cophi_toolbox.preprocessing' has no attribute 'read_model'  /mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py:166: UnexpectedException

Stacktrace

157 
158     Returns:
159         None.
160 
161     Example:
162         >>> from lda import LDA
163         >>> from gensim.models import LdaModel
164         >>> from cophi_toolbox import preprocessing
165         >>> save_model(LDA, 'model.pickle')
166         >>> preprocessing.read_model('model.pickle') == LDA
UNEXPECTED EXCEPTION: AttributeError("module 'cophi_toolbox.preprocessing' has no attribute 'read_model'",)
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.save_model[4]>", line 1, in <module>

AttributeError: module 'cophi_toolbox.preprocessing' has no attribute 'read_model'

/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/postprocessing.py:166: UnexpectedException