From 33800c93677403b37abcfde0a3b5d052019339dc Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 11 Jan 2017 18:59:01 +0100 Subject: [PATCH] Rename "tokens" tests to "doc" --- setup.py | 2 +- spacy/tests/{tokens => doc}/__init__.py | 0 spacy/tests/{tokens => doc}/test_add_entities.py | 0 spacy/tests/{tokens => doc}/test_array.py | 0 spacy/tests/{tokens => doc}/test_doc_api.py | 0 spacy/tests/{tokens => doc}/test_noun_chunks.py | 0 spacy/tests/{tokens => doc}/test_token_api.py | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename spacy/tests/{tokens => doc}/__init__.py (100%) rename spacy/tests/{tokens => doc}/test_add_entities.py (100%) rename spacy/tests/{tokens => doc}/test_array.py (100%) rename spacy/tests/{tokens => doc}/test_doc_api.py (100%) rename spacy/tests/{tokens => doc}/test_noun_chunks.py (100%) rename spacy/tests/{tokens => doc}/test_token_api.py (100%) diff --git a/setup.py b/setup.py index 4ba997a0c..38e9eb017 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ PACKAGES = [ 'spacy.tests.spans', 'spacy.tests.tagger', 'spacy.tests.tokenizer', - 'spacy.tests.tokens', + 'spacy.tests.doc', 'spacy.tests.vectors', 'spacy.tests.vocab'] diff --git a/spacy/tests/tokens/__init__.py b/spacy/tests/doc/__init__.py similarity index 100% rename from spacy/tests/tokens/__init__.py rename to spacy/tests/doc/__init__.py diff --git a/spacy/tests/tokens/test_add_entities.py b/spacy/tests/doc/test_add_entities.py similarity index 100% rename from spacy/tests/tokens/test_add_entities.py rename to spacy/tests/doc/test_add_entities.py diff --git a/spacy/tests/tokens/test_array.py b/spacy/tests/doc/test_array.py similarity index 100% rename from spacy/tests/tokens/test_array.py rename to spacy/tests/doc/test_array.py diff --git a/spacy/tests/tokens/test_doc_api.py b/spacy/tests/doc/test_doc_api.py similarity index 100% rename from spacy/tests/tokens/test_doc_api.py rename to spacy/tests/doc/test_doc_api.py diff --git a/spacy/tests/tokens/test_noun_chunks.py b/spacy/tests/doc/test_noun_chunks.py similarity index 100% rename from spacy/tests/tokens/test_noun_chunks.py rename to spacy/tests/doc/test_noun_chunks.py diff --git a/spacy/tests/tokens/test_token_api.py b/spacy/tests/doc/test_token_api.py similarity index 100% rename from spacy/tests/tokens/test_token_api.py rename to spacy/tests/doc/test_token_api.py