Skip to content

Failed

demonstrator_test.DemonstratorTestCase.test_topic_modeling (from nosetests)

Failing for the past 4 builds (Since Failed#366 )
Took 0 ms.

Error Message

a bytes-like object is required, not 'str'

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 "/mnt/data/jenkins/workspace/DARIAH-Topics/test/demonstrator_test.py", line 33, in test_topic_modeling
    files = (BytesIO(text_bytes), 'document.txt')
TypeError: a bytes-like object is required, not 'str'