Skip to content

Regression

tests.test_model.TestDocument.test_drop (from pytest)

Failing for the past 1 build (Since Failed#74 )
Took 0 ms.

This test is unclaimed

Error Message

TypeError: drop() takes 2 positional arguments but 3 were given

Stacktrace

self = <test_model.TestDocument object at 0x7fbb402841d0>
document = <cophi.model.Document object at 0x7fbb402842b0>

    def test_drop(self, document):
        features = ["a", "b", "c"]
>       tokens = document.drop(LOWERCASE_TOKENS, features)
E       TypeError: drop() takes 2 positional arguments but 3 were given

tests/test_model.py:147: TypeError