Failed

tests.test_model.TestCorpus.test_svmlight (from pytest)

Failing for the past 2 builds (Since #103 )
Took 2 ms.

This test is unclaimed

Error Message

AssertionError: assert 'document a:3...d:1 e:1 f:1\n' == 'document docu...d:1 e:1 f:1\n'   - document a:3 b:2 c:3 d:1 e:1 f:1   + document document a:3 b:2 c:3 d:1 e:1 f:1   ?          +++++++++

Stacktrace

self = <test_model.TestCorpus object at 0x7f3ae3124ac8>
corpus = <cophi.text.model.Corpus object at 0x7f3ae3124198>

    def test_svmlight(self, corpus):
        output = pathlib.Path("corpus.svmlight")
        model.Corpus.svmlight(corpus.dtm, output)
        assert output.exists()
        with output.open("r", encoding="utf-8") as file:
>           assert file.read() == "document document a:3 b:2 c:3 d:1 e:1 f:1\n"
E           AssertionError: assert 'document a:3...d:1 e:1 f:1\n' == 'document docu...d:1 e:1 f:1\n'
E             - document a:3 b:2 c:3 d:1 e:1 f:1
E             + document document a:3 b:2 c:3 d:1 e:1 f:1
E             ?          +++++++++

tests/test_model.py:295: AssertionError