Failed
tests.test_api.test_export (from pytest)
Failing for the past 5 builds
(Since Failed )
This test is unclaimed |
Error Message
AssertionError: assert 'document a:1...d:1 e:1 f:1\n' == 'document docu...d:1 e:1 f:1\n' - document a:1 b:1 c:1 d:1 e:1 f:1 + document document a:1 b:1 c:1 d:1 e:1 f:1 ? +++++++++
Stacktrace
corpus = <cophi.text.model.Corpus object at 0x7faea62c5668> def test_export(corpus): output = pathlib.Path("corpus.svmlight") utils.export(corpus.dtm, output, "svmlight") assert output.exists() with output.open("r", encoding="utf-8") as file: > assert file.read() == "document document a:1 b:1 c:1 d:1 e:1 f:1\n" E AssertionError: assert 'document a:1...d:1 e:1 f:1\n' == 'document docu...d:1 e:1 f:1\n' E - document a:1 b:1 c:1 d:1 e:1 f:1 E + document document a:1 b:1 c:1 d:1 e:1 f:1 E ? +++++++++ tests/test_api.py:38: AssertionError