Skip to content

Regression

dariah_topics.preprocessing.tokenize (from nosetests)

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

Error Message

Failed doctest test for dariah_topics.preprocessing.tokenize
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 156, in tokenize

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 170, in dariah_topics.preprocessing.tokenize
Failed example:
    list(tokenize("I am an example text."))
Expected:
    ['i', 'am', 'an', 'example', 'text']
Got:
    ['am', 'an', 'example', 'text']

-------------------- >> 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
--------------------- >> 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.preprocessing.tokenize
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 156, in tokenize

----------------------------------------------------------------------
File "/mnt/data/jenkins/workspace/DARIAH-Topics/dariah_topics/preprocessing.py", line 170, in dariah_topics.preprocessing.tokenize
Failed example:
    list(tokenize("I am an example text."))
Expected:
    ['i', 'am', 'an', 'example', 'text']
Got:
    ['am', 'an', 'example', 'text']

-------------------- >> 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
--------------------- >> end captured logging << ---------------------