Skip to content

Failed

dariah_topics.mallet.create_mallet_binary (from nosetests)

Failing for the past 2 builds (Since Failed#151 )
Took 0.15 sec.

Error Message

Failed doctest test for dariah_topics.mallet.create_mallet_binary
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 39, in create_mallet_binary

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 64, in dariah_topics.mallet.create_mallet_binary
Failed example:
    create_mallet_binary(path_to_file='testfile.txt')
Expected:
    "binary.mallet"
Got:
    'mallet_output/binary.mallet'

-------------------- >> begin captured logging << --------------------
gensim.models.doc2vec: DEBUG: Fast version of gensim.models.doc2vec is being used
summa.preprocessing.cleaner: INFO: 'pattern' package not found; tag filters are not available for English
root: INFO: Generating grammar tables from /usr/lib/python3.5/lib2to3/Grammar.txt
root: INFO: Generating grammar tables from /usr/lib/python3.5/lib2to3/PatternGrammar.txt
mallet: INFO: Creating output folder ...
mallet: INFO: Accessing MALLET with ['mallet', 'import-file', '--input', 'testfile.txt', '--remove-stopwords', '--output', 'mallet_output/binary.mallet', '--keep-sequence'] ...
mallet: DEBUG: 
--------------------- >> end captured logging << ---------------------

Stacktrace

  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()))
Failed doctest test for dariah_topics.mallet.create_mallet_binary
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 39, in create_mallet_binary

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 64, in dariah_topics.mallet.create_mallet_binary
Failed example:
    create_mallet_binary(path_to_file='testfile.txt')
Expected:
    "binary.mallet"
Got:
    'mallet_output/binary.mallet'

-------------------- >> begin captured logging << --------------------
gensim.models.doc2vec: DEBUG: Fast version of gensim.models.doc2vec is being used
summa.preprocessing.cleaner: INFO: 'pattern' package not found; tag filters are not available for English
root: INFO: Generating grammar tables from /usr/lib/python3.5/lib2to3/Grammar.txt
root: INFO: Generating grammar tables from /usr/lib/python3.5/lib2to3/PatternGrammar.txt
mallet: INFO: Creating output folder ...
mallet: INFO: Accessing MALLET with ['mallet', 'import-file', '--input', 'testfile.txt', '--remove-stopwords', '--output', 'mallet_output/binary.mallet', '--keep-sequence'] ...
mallet: DEBUG: 
--------------------- >> end captured logging << ---------------------