Started by GitHub push by severinsimmler Building remotely on build3 (digibib) in workspace /mnt/data/jenkins/workspace/cophi_toolbox > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url git://github.com/cophi-wue/cophi-toolbox # timeout=10 Fetching upstream changes from git://github.com/cophi-wue/cophi-toolbox > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials > /usr/bin/git fetch --tags --progress git://github.com/cophi-wue/cophi-toolbox +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/ddw Seen branch in repository origin/gh-pages Seen branch in repository origin/master Seen branch in repository origin/oop Seen branch in repository origin/testing Seen 5 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 11fdf4a14e881d25f4b5bf39e045ba26dbd5ec2c (origin/testing) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 11fdf4a14e881d25f4b5bf39e045ba26dbd5ec2c Commit message: "fix: f strings" > /usr/bin/git rev-list --no-walk 719447f034d44d80c194c28efbcbd01659b8b426 # timeout=10 [cophi_toolbox] $ /bin/sh -xe /tmp/jenkins8221626781924713236.sh + tox GLOB sdist-make: /mnt/data/jenkins/workspace/cophi_toolbox/setup.py py34 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py34 SKIPPED: InterpreterNotFound: python3.4 py35 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/.tmp/package/1/cophi-1.3.0.zip py35 installed: atomicwrites==1.3.0,attrs==19.1.0,cophi==1.3.0,coverage==4.5.3,lxml==4.3.2,more-itertools==6.0.0,numpy==1.16.2,pandas==0.24.2,pathlib2==2.3.3,pluggy==0.9.0,py==1.8.0,pytest==4.3.1,pytest-cov==2.6.1,python-dateutil==2.8.0,pytz==2018.9,regex==2019.3.12,six==1.12.0 py35 run-test-pre: PYTHONHASHSEED='771645659' py35 runtests: commands[0] | pytest ============================= test session starts ============================== platform linux -- Python 3.5.6, pytest-4.3.1, py-1.8.0, pluggy-0.9.0 cachedir: .tox/py35/.pytest_cache rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile: setup.cfg plugins: cov-2.6.1 collected 91 items tests/test_api.py FFE [ 3%] tests/test_complexity.py FFFFFFFFFFFFFFFFFFFFFF [ 27%] tests/test_model.py EEEEEFEFFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 84%] EEEEEEEEE [ 94%] tests/test_utils.py FFFFF [100%] ==================================== ERRORS ==================================== ________________________ ERROR at setup of test_export _________________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_api.py:15: AttributeError __________________ ERROR at setup of TestTextfile.test_suffix __________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_suffix0') @pytest.fixture def textfile_suffix(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) > return cophi.model.Textfile(str(p), treat_as=None) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:22: AttributeError ___________________ ERROR at setup of TestTextfile.test_txt ____________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_txt0') @pytest.fixture def textfile_txt(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) > return cophi.model.Textfile(str(p), treat_as=".txt") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:27: AttributeError ___________________ ERROR at setup of TestTextfile.test_xml ____________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_xml0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestTextfile.test_parse_xml _________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_parse_xml0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestTextfile.test_stringify _________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_stringify0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestDocument.test_attributes ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_types ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestDocument.test_lengths __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _______________ ERROR at setup of TestDocument.test_mean_length ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_num_tokens ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_num_types _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_bow ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_rel ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_mfw ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_hapax ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_window __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ______________ ERROR at setup of TestDocument.test_freq_spectrum _______________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_drop ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_paragraphs ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestDocument.test_segments _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_bootstrap _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_complexity ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestCorpus.test_sparse_error ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_dtm _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestCorpus.test_map_metadata ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_stats ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _______________ ERROR at setup of TestCorpus.test_freq_spectrum ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_types ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_sort ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_mfw _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_drop ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_cull ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_zscores ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_rel _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_tfidf ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_num_types __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_num_tokens _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_complexity _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_ttr _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_guiraud_r __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_herdan_c __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_dugast_k __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_dugast_u __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_maas_a2 ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_tuldava_ln _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_brunet_w __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_cttr ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_summer_s __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_sichel_s __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_michea_m __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_honore_h __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_entropy ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_yule_k ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_simpson_d __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_herdan_vm __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_orlov_z ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_svmlight __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_plaintext __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError =================================== FAILURES =================================== ________________________________ test_document _________________________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_document0') def test_document(tmpdir): filepath = make_file(tmpdir, "document.txt", DOCUMENT) > document = cophi.document(str(filepath), token_pattern=r"\w") tests/test_api.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filepath = '/tmp/pytest-of-jenkins/pytest-18/test_document0/sub/document.txt' lemma = False, pos = None, jar = 'ddw-0.4.6.jar', language = 'de' kwargs = {'token_pattern': '\\w'} def document(filepath, lemma=False, pos=None, jar="ddw-0.4.6.jar", language="de", **kwargs): """Read a text file and create a Document object. Parameter: filepath (str): Path to the text file. lemma (bool): If True, lemmatize text (optional). pos (list): If not None, filter POS tags (optional). jar (str): Path to DARIAH-DKPro-Wrapper JAR file (optional). language (str): Language of text (optional). title (str): Describing title for the document (optional). lowercase (bool): If True, writes all letters in lowercase (optional). n (int): Number of tokens per ngram (optional). token_pattern (str): Regex pattern for one token (optional). maximum (int): Stop tokenizing after that much tokens (optional). Returns: A Document object. """ if lemma or pos: return dkpro.pipe(filepath, jar, language, lemma, pos, **kwargs) else: > filepath = text.model.filepath(filepath) E AttributeError: module 'cophi.text.model' has no attribute 'filepath' src/cophi/api.py:42: AttributeError _________________________________ test_corpus __________________________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_corpus0') def test_corpus(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) directory = pathlib.Path(str(p)).parent corpus, metadata = cophi.corpus(directory, metadata=True) > assert metadata["parent"].iloc[0] == str(directory) E AssertionError: assert PosixPath('/tmp/pytest-of-jenkins/pytest-18/test_corpus0/sub') == '/tmp/pytest-of-jenkins/pytest-18/test_corpus0/sub' E + where '/tmp/pytest-of-jenkins/pytest-18/test_corpus0/sub' = str(PosixPath('/tmp/pytest-of-jenkins/pytest-18/test_corpus0/sub')) tests/test_api.py:30: AssertionError ___________________________________ test_ttr ___________________________________ def test_ttr(): > ttr = cophi.complexity.ttr(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:23: AttributeError ________________________________ test_guiraud_r ________________________________ def test_guiraud_r(): > guiraud_r = cophi.complexity.guiraud_r(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:27: AttributeError ________________________________ test_herdan_c _________________________________ def test_herdan_c(): > herdan_c = cophi.complexity.herdan_c(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:31: AttributeError ________________________________ test_dugast_k _________________________________ def test_dugast_k(): > dugast_k = cophi.complexity.dugast_k(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:35: AttributeError _________________________________ test_maas_a2 _________________________________ def test_maas_a2(): > maas_a2 = cophi.complexity.maas_a2(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:39: AttributeError ________________________________ test_dugast_u _________________________________ def test_dugast_u(): > dugast_u = cophi.complexity.dugast_u(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:43: AttributeError _______________________________ test_tuldava_ln ________________________________ def test_tuldava_ln(): > tuldava_ln = cophi.complexity.tuldava_ln(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:47: AttributeError ________________________________ test_brunet_w _________________________________ def test_brunet_w(): > brunet_w = cophi.complexity.brunet_w(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:51: AttributeError __________________________________ test_cttr ___________________________________ def test_cttr(): > cttr = cophi.complexity.cttr(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:55: AttributeError ________________________________ test_summer_s _________________________________ def test_summer_s(): > summer_s = cophi.complexity.summer_s(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:59: AttributeError ________________________________ test_sichel_s _________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_sichel_s(frequency_spectrum): > sichel_s = cophi.complexity.sichel_s(NUM_TYPES, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:63: AttributeError ________________________________ test_michea_m _________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_michea_m(frequency_spectrum): > michea_m = cophi.complexity.michea_m(NUM_TYPES, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:67: AttributeError ________________________________ test_honore_h _________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_honore_h(frequency_spectrum): > honore_h = cophi.complexity.honore_h(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:71: AttributeError _________________________________ test_entropy _________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_entropy(frequency_spectrum): > entropy = cophi.complexity.entropy(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:75: AttributeError _________________________________ test_yule_k __________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_yule_k(frequency_spectrum): > yule_k = cophi.complexity.yule_k(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:79: AttributeError ________________________________ test_simpson_d ________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_simpson_d(frequency_spectrum): > simpson_d = cophi.complexity.simpson_d(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:83: AttributeError ________________________________ test_herdan_vm ________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_herdan_vm(frequency_spectrum): > herdan_vm = cophi.complexity.herdan_vm(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:87: AttributeError _________________________________ test_orlov_z _________________________________ frequency_spectrum = 1 3 2 1 3 1 dtype: int64 def test_orlov_z(frequency_spectrum): > orlov_z = cophi.complexity.orlov_z(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:91: AttributeError __________________________________ test_get_z __________________________________ def test_get_z(): > z = cophi.complexity._get_z(NUM_TOKENS, NUM_TYPES, P_STAR, Z) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:95: AttributeError _______________________________ test_derivative ________________________________ def test_derivative(): > d = cophi.complexity._derivative(NUM_TOKENS, NUM_TYPES, P_STAR, Z) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:99: AttributeError ___________________________________ test_ci ____________________________________ def test_ci(): results = [1, 2, 3, 4, 5] > ci = cophi.complexity.ci(results) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:104: AttributeError _________________________________ test_wrapper _________________________________ def test_wrapper(): for measure in MEASURES: > function = cophi.complexity.wrapper(measure) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:109: AttributeError ________________________ TestTextfile.test_value_error _________________________ self = <test_model.TestTextfile object at 0x7f100d8997f0> tmpdir = local('/tmp/pytest-of-jenkins/pytest-18/test_value_error0') def test_value_error(self, tmpdir): with pytest.raises(ValueError): > cophi.model.Textfile("raises", treat_as="error") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:83: AttributeError _____________________ TestDocument.test_ngram_value_error ______________________ self = <test_model.TestDocument object at 0x7f100d86ab38> def test_ngram_value_error(self): with pytest.raises(ValueError): > cophi.model.Document(DOCUMENT, n=0) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:98: AttributeError ___________________________ TestDocument.test_ngrams ___________________________ self = <test_model.TestDocument object at 0x7f100d8824a8> def test_ngrams(self): > document = cophi.model.Document(DOCUMENT, token_pattern=r"\w", n=2) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:101: AttributeError ____________________________ test_construct_ngrams _____________________________ def test_construct_ngrams(): > ngrams = cophi.utils.construct_ngrams(TOKENS) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:11: AttributeError _______________________________ test_find_tokens _______________________________ def test_find_tokens(): > tokens = cophi.utils.find_tokens(DOCUMENT, r"\w") E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:15: AttributeError ____________________________ test_lowercase_tokens _____________________________ def test_lowercase_tokens(): > tokens = cophi.utils.lowercase_tokens(TOKENS) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:22: AttributeError ______________________________ test_segment_fuzzy ______________________________ def test_segment_fuzzy(): > segments = cophi.utils.segment_fuzzy(PARAGRAPHS, 1) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:26: AttributeError ________________________________ test_parameter ________________________________ def test_parameter(): > parameter = cophi.utils._parameter(TOKENS, "sichel_s") E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:30: AttributeError --- generated xml file: /mnt/data/jenkins/workspace/cophi_toolbox/tests.xml ---- ----------- coverage: platform linux, python 3.5.6-final-0 ----------- Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ===================== 32 failed, 59 error in 3.51 seconds ====================== ERROR: InvocationError for command '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py35/bin/pytest' (exited with code 1) py36 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/.tmp/package/1/cophi-1.3.0.zip py36 installed: atomicwrites==1.3.0,attrs==19.1.0,cophi==1.3.0,coverage==4.5.3,lxml==4.3.2,more-itertools==6.0.0,numpy==1.16.2,pandas==0.24.2,pluggy==0.9.0,py==1.8.0,pytest==4.3.1,pytest-cov==2.6.1,python-dateutil==2.8.0,pytz==2018.9,regex==2019.3.12,six==1.12.0 py36 run-test-pre: PYTHONHASHSEED='771645659' py36 runtests: commands[0] | pytest ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-4.3.1, py-1.8.0, pluggy-0.9.0 cachedir: .tox/py36/.pytest_cache rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile: setup.cfg plugins: cov-2.6.1 collected 91 items tests/test_api.py FFE [ 3%] tests/test_complexity.py FFFFFFFFFFFFFFFFFFFFFF [ 27%] tests/test_model.py EEEEEFEFFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 84%] EEEEEEEEE [ 94%] tests/test_utils.py FFFFF [100%] ==================================== ERRORS ==================================== ________________________ ERROR at setup of test_export _________________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_api.py:15: AttributeError __________________ ERROR at setup of TestTextfile.test_suffix __________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_suffix0') @pytest.fixture def textfile_suffix(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) > return cophi.model.Textfile(str(p), treat_as=None) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:22: AttributeError ___________________ ERROR at setup of TestTextfile.test_txt ____________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_txt0') @pytest.fixture def textfile_txt(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) > return cophi.model.Textfile(str(p), treat_as=".txt") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:27: AttributeError ___________________ ERROR at setup of TestTextfile.test_xml ____________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_xml0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestTextfile.test_parse_xml _________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_parse_xml0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestTextfile.test_stringify _________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_stringify0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestDocument.test_attributes ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_types ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestDocument.test_lengths __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _______________ ERROR at setup of TestDocument.test_mean_length ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_num_tokens ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_num_types _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_bow ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_rel ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_mfw ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_hapax ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_window __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ______________ ERROR at setup of TestDocument.test_freq_spectrum _______________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_drop ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_paragraphs ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestDocument.test_segments _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_bootstrap _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_complexity ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestCorpus.test_sparse_error ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_dtm _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestCorpus.test_map_metadata ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_stats ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _______________ ERROR at setup of TestCorpus.test_freq_spectrum ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_types ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_sort ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_mfw _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_drop ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_cull ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_zscores ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_rel _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_tfidf ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_num_types __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_num_tokens _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_complexity _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_ttr _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_guiraud_r __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_herdan_c __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_dugast_k __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_dugast_u __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_maas_a2 ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_tuldava_ln _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_brunet_w __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_cttr ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_summer_s __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_sichel_s __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_michea_m __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_honore_h __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_entropy ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_yule_k ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_simpson_d __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_herdan_vm __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_orlov_z ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_svmlight __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_plaintext __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError =================================== FAILURES =================================== ________________________________ test_document _________________________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_document0') def test_document(tmpdir): filepath = make_file(tmpdir, "document.txt", DOCUMENT) > document = cophi.document(str(filepath), token_pattern=r"\w") tests/test_api.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filepath = '/tmp/pytest-of-jenkins/pytest-19/test_document0/sub/document.txt' lemma = False, pos = None, jar = 'ddw-0.4.6.jar', language = 'de' kwargs = {'token_pattern': '\\w'} def document(filepath, lemma=False, pos=None, jar="ddw-0.4.6.jar", language="de", **kwargs): """Read a text file and create a Document object. Parameter: filepath (str): Path to the text file. lemma (bool): If True, lemmatize text (optional). pos (list): If not None, filter POS tags (optional). jar (str): Path to DARIAH-DKPro-Wrapper JAR file (optional). language (str): Language of text (optional). title (str): Describing title for the document (optional). lowercase (bool): If True, writes all letters in lowercase (optional). n (int): Number of tokens per ngram (optional). token_pattern (str): Regex pattern for one token (optional). maximum (int): Stop tokenizing after that much tokens (optional). Returns: A Document object. """ if lemma or pos: return dkpro.pipe(filepath, jar, language, lemma, pos, **kwargs) else: > filepath = text.model.filepath(filepath) E AttributeError: module 'cophi.text.model' has no attribute 'filepath' src/cophi/api.py:42: AttributeError _________________________________ test_corpus __________________________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_corpus0') def test_corpus(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) directory = pathlib.Path(str(p)).parent corpus, metadata = cophi.corpus(directory, metadata=True) > assert metadata["parent"].iloc[0] == str(directory) E AssertionError: assert PosixPath('/tmp/pytest-of-jenkins/pytest-19/test_corpus0/sub') == '/tmp/pytest-of-jenkins/pytest-19/test_corpus0/sub' E + where '/tmp/pytest-of-jenkins/pytest-19/test_corpus0/sub' = str(PosixPath('/tmp/pytest-of-jenkins/pytest-19/test_corpus0/sub')) tests/test_api.py:30: AssertionError ___________________________________ test_ttr ___________________________________ def test_ttr(): > ttr = cophi.complexity.ttr(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:23: AttributeError ________________________________ test_guiraud_r ________________________________ def test_guiraud_r(): > guiraud_r = cophi.complexity.guiraud_r(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:27: AttributeError ________________________________ test_herdan_c _________________________________ def test_herdan_c(): > herdan_c = cophi.complexity.herdan_c(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:31: AttributeError ________________________________ test_dugast_k _________________________________ def test_dugast_k(): > dugast_k = cophi.complexity.dugast_k(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:35: AttributeError _________________________________ test_maas_a2 _________________________________ def test_maas_a2(): > maas_a2 = cophi.complexity.maas_a2(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:39: AttributeError ________________________________ test_dugast_u _________________________________ def test_dugast_u(): > dugast_u = cophi.complexity.dugast_u(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:43: AttributeError _______________________________ test_tuldava_ln ________________________________ def test_tuldava_ln(): > tuldava_ln = cophi.complexity.tuldava_ln(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:47: AttributeError ________________________________ test_brunet_w _________________________________ def test_brunet_w(): > brunet_w = cophi.complexity.brunet_w(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:51: AttributeError __________________________________ test_cttr ___________________________________ def test_cttr(): > cttr = cophi.complexity.cttr(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:55: AttributeError ________________________________ test_summer_s _________________________________ def test_summer_s(): > summer_s = cophi.complexity.summer_s(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:59: AttributeError ________________________________ test_sichel_s _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_sichel_s(frequency_spectrum): > sichel_s = cophi.complexity.sichel_s(NUM_TYPES, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:63: AttributeError ________________________________ test_michea_m _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_michea_m(frequency_spectrum): > michea_m = cophi.complexity.michea_m(NUM_TYPES, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:67: AttributeError ________________________________ test_honore_h _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_honore_h(frequency_spectrum): > honore_h = cophi.complexity.honore_h(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:71: AttributeError _________________________________ test_entropy _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_entropy(frequency_spectrum): > entropy = cophi.complexity.entropy(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:75: AttributeError _________________________________ test_yule_k __________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_yule_k(frequency_spectrum): > yule_k = cophi.complexity.yule_k(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:79: AttributeError ________________________________ test_simpson_d ________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_simpson_d(frequency_spectrum): > simpson_d = cophi.complexity.simpson_d(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:83: AttributeError ________________________________ test_herdan_vm ________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_herdan_vm(frequency_spectrum): > herdan_vm = cophi.complexity.herdan_vm(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:87: AttributeError _________________________________ test_orlov_z _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_orlov_z(frequency_spectrum): > orlov_z = cophi.complexity.orlov_z(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:91: AttributeError __________________________________ test_get_z __________________________________ def test_get_z(): > z = cophi.complexity._get_z(NUM_TOKENS, NUM_TYPES, P_STAR, Z) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:95: AttributeError _______________________________ test_derivative ________________________________ def test_derivative(): > d = cophi.complexity._derivative(NUM_TOKENS, NUM_TYPES, P_STAR, Z) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:99: AttributeError ___________________________________ test_ci ____________________________________ def test_ci(): results = [1, 2, 3, 4, 5] > ci = cophi.complexity.ci(results) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:104: AttributeError _________________________________ test_wrapper _________________________________ def test_wrapper(): for measure in MEASURES: > function = cophi.complexity.wrapper(measure) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:109: AttributeError ________________________ TestTextfile.test_value_error _________________________ self = <test_model.TestTextfile object at 0x7fe4b6a587f0> tmpdir = local('/tmp/pytest-of-jenkins/pytest-19/test_value_error0') def test_value_error(self, tmpdir): with pytest.raises(ValueError): > cophi.model.Textfile("raises", treat_as="error") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:83: AttributeError _____________________ TestDocument.test_ngram_value_error ______________________ self = <test_model.TestDocument object at 0x7fe4b6a79cc0> def test_ngram_value_error(self): with pytest.raises(ValueError): > cophi.model.Document(DOCUMENT, n=0) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:98: AttributeError ___________________________ TestDocument.test_ngrams ___________________________ self = <test_model.TestDocument object at 0x7fe4b6a6a3c8> def test_ngrams(self): > document = cophi.model.Document(DOCUMENT, token_pattern=r"\w", n=2) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:101: AttributeError ____________________________ test_construct_ngrams _____________________________ def test_construct_ngrams(): > ngrams = cophi.utils.construct_ngrams(TOKENS) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:11: AttributeError _______________________________ test_find_tokens _______________________________ def test_find_tokens(): > tokens = cophi.utils.find_tokens(DOCUMENT, r"\w") E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:15: AttributeError ____________________________ test_lowercase_tokens _____________________________ def test_lowercase_tokens(): > tokens = cophi.utils.lowercase_tokens(TOKENS) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:22: AttributeError ______________________________ test_segment_fuzzy ______________________________ def test_segment_fuzzy(): > segments = cophi.utils.segment_fuzzy(PARAGRAPHS, 1) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:26: AttributeError ________________________________ test_parameter ________________________________ def test_parameter(): > parameter = cophi.utils._parameter(TOKENS, "sichel_s") E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:30: AttributeError =============================== warnings summary =============================== src/cophi/__init__.py:45 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/__init__.py:45: DeprecationWarning: invalid escape sequence \p """ src/cophi/text/model.py:489 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/model.py:489: DeprecationWarning: invalid escape sequence \m """ src/cophi/text/complexity.py:47 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:47: DeprecationWarning: invalid escape sequence \s """ src/cophi/text/complexity.py:61 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:61: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:75 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:75: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:89 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:89: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:104 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:104: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:119 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:119: DeprecationWarning: invalid escape sequence \; """ src/cophi/text/complexity.py:148 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:148: DeprecationWarning: invalid escape sequence \s """ src/cophi/text/complexity.py:162 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:162: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:206 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:206: DeprecationWarning: invalid escape sequence \c """ src/cophi/text/complexity.py:236 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:236: DeprecationWarning: invalid escape sequence \s """ -- Docs: https://docs.pytest.org/en/latest/warnings.html --- generated xml file: /mnt/data/jenkins/workspace/cophi_toolbox/tests.xml ---- ----------- coverage: platform linux, python 3.6.8-final-0 ----------- Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml =============== 32 failed, 12 warnings, 59 error in 1.63 seconds =============== ERROR: InvocationError for command '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py36/bin/pytest' (exited with code 1) py37 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/.tmp/package/1/cophi-1.3.0.zip py37 installed: atomicwrites==1.3.0,attrs==19.1.0,cophi==1.3.0,coverage==4.5.3,lxml==4.3.2,more-itertools==6.0.0,numpy==1.16.2,pandas==0.24.2,pluggy==0.9.0,py==1.8.0,pytest==4.3.1,pytest-cov==2.6.1,python-dateutil==2.8.0,pytz==2018.9,regex==2019.3.12,six==1.12.0 py37 run-test-pre: PYTHONHASHSEED='771645659' py37 runtests: commands[0] | pytest ============================= test session starts ============================== platform linux -- Python 3.7.2+, pytest-4.3.1, py-1.8.0, pluggy-0.9.0 cachedir: .tox/py37/.pytest_cache rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile: setup.cfg plugins: cov-2.6.1 collected 91 items tests/test_api.py FFE [ 3%] tests/test_complexity.py FFFFFFFFFFFFFFFFFFFFFF [ 27%] tests/test_model.py EEEEEFEFFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 84%] EEEEEEEEE [ 94%] tests/test_utils.py FFFFF [100%] ==================================== ERRORS ==================================== ________________________ ERROR at setup of test_export _________________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_api.py:15: AttributeError __________________ ERROR at setup of TestTextfile.test_suffix __________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_suffix0') @pytest.fixture def textfile_suffix(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) > return cophi.model.Textfile(str(p), treat_as=None) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:22: AttributeError ___________________ ERROR at setup of TestTextfile.test_txt ____________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_txt0') @pytest.fixture def textfile_txt(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) > return cophi.model.Textfile(str(p), treat_as=".txt") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:27: AttributeError ___________________ ERROR at setup of TestTextfile.test_xml ____________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_xml0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestTextfile.test_parse_xml _________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_parse_xml0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestTextfile.test_stringify _________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_stringify0') @pytest.fixture def textfile_xml(tmpdir): p = make_file(tmpdir, "document.xml", "<xml>{}</xml>".format(DOCUMENT)) > return cophi.model.Textfile(str(p), treat_as=".xml") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:32: AttributeError ________________ ERROR at setup of TestDocument.test_attributes ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_types ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestDocument.test_lengths __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _______________ ERROR at setup of TestDocument.test_mean_length ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_num_tokens ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_num_types _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_bow ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_rel ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_mfw ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_hapax ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestDocument.test_window __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ______________ ERROR at setup of TestDocument.test_freq_spectrum _______________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestDocument.test_drop ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_paragraphs ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestDocument.test_segments _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_bootstrap _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestDocument.test_complexity ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestCorpus.test_sparse_error ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_dtm _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ________________ ERROR at setup of TestCorpus.test_map_metadata ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_stats ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _______________ ERROR at setup of TestCorpus.test_freq_spectrum ________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_types ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_sort ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_mfw _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_drop ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_cull ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_zscores ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_rel _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_tfidf ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_num_types __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_num_tokens _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_complexity _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_ttr _____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_guiraud_r __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_herdan_c __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_dugast_k __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_dugast_u __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_maas_a2 ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_tuldava_ln _________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_brunet_w __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ____________________ ERROR at setup of TestCorpus.test_cttr ____________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_summer_s __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_sichel_s __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_michea_m __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_honore_h __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_entropy ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError ___________________ ERROR at setup of TestCorpus.test_yule_k ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_simpson_d __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_herdan_vm __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_orlov_z ___________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError __________________ ERROR at setup of TestCorpus.test_svmlight __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError _________________ ERROR at setup of TestCorpus.test_plaintext __________________ @pytest.fixture def document(): > return cophi.model.Document(DOCUMENT, "document", r"\w") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:36: AttributeError =================================== FAILURES =================================== ________________________________ test_document _________________________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_document0') def test_document(tmpdir): filepath = make_file(tmpdir, "document.txt", DOCUMENT) > document = cophi.document(str(filepath), token_pattern=r"\w") tests/test_api.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filepath = '/tmp/pytest-of-jenkins/pytest-20/test_document0/sub/document.txt' lemma = False, pos = None, jar = 'ddw-0.4.6.jar', language = 'de' kwargs = {'token_pattern': '\\w'} def document(filepath, lemma=False, pos=None, jar="ddw-0.4.6.jar", language="de", **kwargs): """Read a text file and create a Document object. Parameter: filepath (str): Path to the text file. lemma (bool): If True, lemmatize text (optional). pos (list): If not None, filter POS tags (optional). jar (str): Path to DARIAH-DKPro-Wrapper JAR file (optional). language (str): Language of text (optional). title (str): Describing title for the document (optional). lowercase (bool): If True, writes all letters in lowercase (optional). n (int): Number of tokens per ngram (optional). token_pattern (str): Regex pattern for one token (optional). maximum (int): Stop tokenizing after that much tokens (optional). Returns: A Document object. """ if lemma or pos: return dkpro.pipe(filepath, jar, language, lemma, pos, **kwargs) else: > filepath = text.model.filepath(filepath) E AttributeError: module 'cophi.text.model' has no attribute 'filepath' src/cophi/api.py:42: AttributeError _________________________________ test_corpus __________________________________ tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_corpus0') def test_corpus(tmpdir): p = make_file(tmpdir, "document.txt", DOCUMENT) directory = pathlib.Path(str(p)).parent corpus, metadata = cophi.corpus(directory, metadata=True) > assert metadata["parent"].iloc[0] == str(directory) E AssertionError: assert PosixPath('/tmp/pytest-of-jenkins/pytest-20/test_corpus0/sub') == '/tmp/pytest-of-jenkins/pytest-20/test_corpus0/sub' E + where '/tmp/pytest-of-jenkins/pytest-20/test_corpus0/sub' = str(PosixPath('/tmp/pytest-of-jenkins/pytest-20/test_corpus0/sub')) tests/test_api.py:30: AssertionError ___________________________________ test_ttr ___________________________________ def test_ttr(): > ttr = cophi.complexity.ttr(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:23: AttributeError ________________________________ test_guiraud_r ________________________________ def test_guiraud_r(): > guiraud_r = cophi.complexity.guiraud_r(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:27: AttributeError ________________________________ test_herdan_c _________________________________ def test_herdan_c(): > herdan_c = cophi.complexity.herdan_c(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:31: AttributeError ________________________________ test_dugast_k _________________________________ def test_dugast_k(): > dugast_k = cophi.complexity.dugast_k(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:35: AttributeError _________________________________ test_maas_a2 _________________________________ def test_maas_a2(): > maas_a2 = cophi.complexity.maas_a2(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:39: AttributeError ________________________________ test_dugast_u _________________________________ def test_dugast_u(): > dugast_u = cophi.complexity.dugast_u(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:43: AttributeError _______________________________ test_tuldava_ln ________________________________ def test_tuldava_ln(): > tuldava_ln = cophi.complexity.tuldava_ln(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:47: AttributeError ________________________________ test_brunet_w _________________________________ def test_brunet_w(): > brunet_w = cophi.complexity.brunet_w(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:51: AttributeError __________________________________ test_cttr ___________________________________ def test_cttr(): > cttr = cophi.complexity.cttr(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:55: AttributeError ________________________________ test_summer_s _________________________________ def test_summer_s(): > summer_s = cophi.complexity.summer_s(NUM_TYPES, NUM_TOKENS) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:59: AttributeError ________________________________ test_sichel_s _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_sichel_s(frequency_spectrum): > sichel_s = cophi.complexity.sichel_s(NUM_TYPES, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:63: AttributeError ________________________________ test_michea_m _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_michea_m(frequency_spectrum): > michea_m = cophi.complexity.michea_m(NUM_TYPES, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:67: AttributeError ________________________________ test_honore_h _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_honore_h(frequency_spectrum): > honore_h = cophi.complexity.honore_h(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:71: AttributeError _________________________________ test_entropy _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_entropy(frequency_spectrum): > entropy = cophi.complexity.entropy(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:75: AttributeError _________________________________ test_yule_k __________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_yule_k(frequency_spectrum): > yule_k = cophi.complexity.yule_k(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:79: AttributeError ________________________________ test_simpson_d ________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_simpson_d(frequency_spectrum): > simpson_d = cophi.complexity.simpson_d(NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:83: AttributeError ________________________________ test_herdan_vm ________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_herdan_vm(frequency_spectrum): > herdan_vm = cophi.complexity.herdan_vm(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:87: AttributeError _________________________________ test_orlov_z _________________________________ frequency_spectrum = 3 1 2 1 1 3 dtype: int64 def test_orlov_z(frequency_spectrum): > orlov_z = cophi.complexity.orlov_z(NUM_TYPES, NUM_TOKENS, frequency_spectrum) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:91: AttributeError __________________________________ test_get_z __________________________________ def test_get_z(): > z = cophi.complexity._get_z(NUM_TOKENS, NUM_TYPES, P_STAR, Z) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:95: AttributeError _______________________________ test_derivative ________________________________ def test_derivative(): > d = cophi.complexity._derivative(NUM_TOKENS, NUM_TYPES, P_STAR, Z) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:99: AttributeError ___________________________________ test_ci ____________________________________ def test_ci(): results = [1, 2, 3, 4, 5] > ci = cophi.complexity.ci(results) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:104: AttributeError _________________________________ test_wrapper _________________________________ def test_wrapper(): for measure in MEASURES: > function = cophi.complexity.wrapper(measure) E AttributeError: module 'cophi' has no attribute 'complexity' tests/test_complexity.py:109: AttributeError ________________________ TestTextfile.test_value_error _________________________ self = <test_model.TestTextfile object at 0x7f787b418f98> tmpdir = local('/tmp/pytest-of-jenkins/pytest-20/test_value_error0') def test_value_error(self, tmpdir): with pytest.raises(ValueError): > cophi.model.Textfile("raises", treat_as="error") E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:83: AttributeError _____________________ TestDocument.test_ngram_value_error ______________________ self = <test_model.TestDocument object at 0x7f787b3696a0> def test_ngram_value_error(self): with pytest.raises(ValueError): > cophi.model.Document(DOCUMENT, n=0) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:98: AttributeError ___________________________ TestDocument.test_ngrams ___________________________ self = <test_model.TestDocument object at 0x7f787b381b70> def test_ngrams(self): > document = cophi.model.Document(DOCUMENT, token_pattern=r"\w", n=2) E AttributeError: module 'cophi' has no attribute 'model' tests/test_model.py:101: AttributeError ____________________________ test_construct_ngrams _____________________________ def test_construct_ngrams(): > ngrams = cophi.utils.construct_ngrams(TOKENS) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:11: AttributeError _______________________________ test_find_tokens _______________________________ def test_find_tokens(): > tokens = cophi.utils.find_tokens(DOCUMENT, r"\w") E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:15: AttributeError ____________________________ test_lowercase_tokens _____________________________ def test_lowercase_tokens(): > tokens = cophi.utils.lowercase_tokens(TOKENS) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:22: AttributeError ______________________________ test_segment_fuzzy ______________________________ def test_segment_fuzzy(): > segments = cophi.utils.segment_fuzzy(PARAGRAPHS, 1) E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:26: AttributeError ________________________________ test_parameter ________________________________ def test_parameter(): > parameter = cophi.utils._parameter(TOKENS, "sichel_s") E AttributeError: module 'cophi' has no attribute 'utils' tests/test_utils.py:30: AttributeError =============================== warnings summary =============================== src/cophi/__init__.py:45 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/__init__.py:45: DeprecationWarning: invalid escape sequence \p """ src/cophi/text/model.py:489 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/model.py:489: DeprecationWarning: invalid escape sequence \m """ src/cophi/text/complexity.py:47 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:47: DeprecationWarning: invalid escape sequence \s """ src/cophi/text/complexity.py:61 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:61: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:75 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:75: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:89 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:89: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:104 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:104: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:119 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:119: DeprecationWarning: invalid escape sequence \; """ src/cophi/text/complexity.py:148 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:148: DeprecationWarning: invalid escape sequence \s """ src/cophi/text/complexity.py:162 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:162: DeprecationWarning: invalid escape sequence \l """ src/cophi/text/complexity.py:206 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:206: DeprecationWarning: invalid escape sequence \c """ src/cophi/text/complexity.py:236 /mnt/data/jenkins/workspace/cophi_toolbox/src/cophi/text/complexity.py:236: DeprecationWarning: invalid escape sequence \s """ -- Docs: https://docs.pytest.org/en/latest/warnings.html --- generated xml file: /mnt/data/jenkins/workspace/cophi_toolbox/tests.xml ---- ----------- coverage: platform linux, python 3.7.2-final-0 ----------- Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml =============== 32 failed, 12 warnings, 59 error in 1.64 seconds =============== ERROR: InvocationError for command '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py37/bin/pytest' (exited with code 1) docs inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/.tmp/package/1/cophi-1.3.0.zip docs installed: alabaster==0.7.12,Babel==2.6.0,certifi==2019.3.9,chardet==3.0.4,cophi==1.3.0,docutils==0.14,idna==2.8,imagesize==1.1.0,Jinja2==2.10,lxml==4.3.2,MarkupSafe==1.1.1,numpy==1.16.2,packaging==19.0,pandas==0.24.2,Pygments==2.3.1,pyparsing==2.3.1,python-dateutil==2.8.0,pytz==2018.9,regex==2019.3.12,requests==2.21.0,six==1.12.0,snowballstemmer==1.2.1,Sphinx==1.8.5,sphinxcontrib-websupport==1.1.0,urllib3==1.24.1 docs run-test-pre: PYTHONHASHSEED='771645659' docs runtests: commands[0] | sphinx-build -E -b html docs dist/docs Running Sphinx v1.8.5 loading intersphinx inventory from https://docs.python.org/objects.inv... intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv building [mo]: targets for 0 po files that are out of date building [html]: targets for 3 source files that are out of date updating environment: 3 added, 0 changed, 0 removed reading sources... [ 33%] index reading sources... [ 66%] reference/cophi-toolbox reading sources... [100%] reference/index /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst:3: WARNING: Unknown directive type "testsetup". .. testsetup:: from cophi import * WARNING: autodoc: failed to import module 'preprocessing' from module 'cophi_toolbox'; the following exception was raised: No module named 'cophi_toolbox' looking for now-outdated files... none found pickling environment... done checking consistency... /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst: WARNING: document isn't included in any toctree /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/index.rst: WARNING: document isn't included in any toctree done preparing documents... done writing output... [ 33%] index writing output... [ 66%] reference/cophi-toolbox writing output... [100%] reference/index generating indices... genindex writing additional pages... search copying static files... WARNING: html_static_path entry '/mnt/data/jenkins/workspace/cophi_toolbox/docs/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 5 warnings. The HTML pages are in dist/docs. docs runtests: commands[1] | sphinx-build -b linkcheck docs dist/docs Running Sphinx v1.8.5 loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [linkcheck]: targets for 3 source files that are out of date updating environment: [] 0 added, 1 changed, 0 removed reading sources... [100%] reference/cophi-toolbox /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst:3: WARNING: Unknown directive type "testsetup". .. testsetup:: from cophi import * WARNING: autodoc: failed to import module 'preprocessing' from module 'cophi_toolbox'; the following exception was raised: No module named 'cophi_toolbox' looking for now-outdated files... none found pickling environment... done checking consistency... /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst: WARNING: document isn't included in any toctree /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/index.rst: WARNING: document isn't included in any toctree done preparing documents... done writing output... [ 33%] index writing output... [ 66%] reference/cophi-toolbox writing output... [100%] reference/index build succeeded, 4 warnings. Look for any errors in the above output or in dist/docs/output.txt ___________________________________ summary ____________________________________ SKIPPED: py34: InterpreterNotFound: python3.4 ERROR: py35: commands failed ERROR: py36: commands failed ERROR: py37: commands failed docs: commands succeeded Build step 'Execute shell' marked build as failure [TASKS] Skipping publisher since build result is FAILURE Recording test results [Cobertura] Publishing Cobertura coverage report... [Cobertura] Publishing Cobertura coverage results... [Cobertura] Cobertura coverage report found. [Set GitHub commit status (universal)] ERROR on repos [GHRepository@76a51b75[description=A repository containing general functions for processing and accessing text corpora,homepage=<null>,name=cophi-toolbox,license=<null>,fork=false,size=511,milestones={},language=Jupyter Notebook,commits={},source=<null>,parent=<null>,responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/json; charset=utf-8], Date=[Thu, 25 Apr 2019 17:57:01 GMT], ETag=[W/"e9c07dcb82c46ca7f08926fc3d4b3adb"], Last-Modified=[Sun, 14 Apr 2019 03:45:43 GMT], OkHttp-Received-Millis=[1556215022010], OkHttp-Response-Source=[CONDITIONAL_CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1556215021833], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[200 OK], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[813A:23D6:72245C:FF83E1:5CC1F4ED], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4984], X-RateLimit-Reset=[1556216433], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/cophi-wue/cophi-toolbox,id=113045733]] (sha:11fdf4a) with context:cophi_toolbox Setting commit status on GitHub for https://github.com/cophi-wue/cophi-toolbox/commit/11fdf4a14e881d25f4b5bf39e045ba26dbd5ec2c [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Notifying upstream projects of job completion Finished: FAILURE