Skip to content

Failed

.tests.test_api (from pytest)

Failing for the past 2 builds (Since Failed#100 )
Took 0 ms.

This test is unclaimed

Error Message

collection failure

Stacktrace

tests/test_api.py:3: in <module>
    import cophi
src/cophi/__init__.py:48: in <module>
    from cophi.api import document, corpus
src/cophi/api.py:14: in <module>
    from cophi import dkpro, text
src/cophi/dkpro/__init__.py:9: in <module>
    from cophi.dkpro.api import process, pipe
src/cophi/dkpro/api.py:11: in <module>
    from cophi import dkpro, text
src/cophi/text/__init__.py:9: in <module>
    from cophi.text import model, utils, complexity
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/model.py", line 51
E       raise ValueError(f"The file format '{treat_as}' is not supported. "
E                                                                         ^
E   SyntaxError: invalid syntax