Skip to content

Failed

dariah_topics.mallet.create_mallet_binary (from nosetests)

Failing for the past 1 build (Since Failed#279 )
Took 2 ms.

Error Message

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

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 99, in dariah_topics.mallet.create_mallet_binary
Failed example:
    mallet_binary = mallet.create_mallet_binary(path_to_corpus="corpus_txt",
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.create_mallet_binary[2]>", line 1
        mallet_binary = mallet.create_mallet_binary(path_to_corpus="corpus_txt",
                                                                               ^
    SyntaxError: unexpected EOF while parsing

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.create_mallet_binary
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 42, in create_mallet_binary

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/mallet.py", line 99, in dariah_topics.mallet.create_mallet_binary
Failed example:
    mallet_binary = mallet.create_mallet_binary(path_to_corpus="corpus_txt",
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.create_mallet_binary[2]>", line 1
        mallet_binary = mallet.create_mallet_binary(path_to_corpus="corpus_txt",
                                                                               ^
    SyntaxError: unexpected EOF while parsing