diff --git a/spacy/tests/sun.txt b/spacy/tests/tokenizer/sun.txt similarity index 100% rename from spacy/tests/sun.txt rename to spacy/tests/tokenizer/sun.txt diff --git a/spacy/tests/tokenizer/test_tokenizer.py b/spacy/tests/tokenizer/test_tokenizer.py index 9db007d7e..cd0043a10 100644 --- a/spacy/tests/tokenizer/test_tokenizer.py +++ b/spacy/tests/tokenizer/test_tokenizer.py @@ -67,7 +67,7 @@ Phasellus tincidunt, augue quis porta finibus, massa sapien consectetur augue, n @pytest.mark.parametrize('file_name', ["sun.txt"]) def test_tokenizer_handle_text_from_file(tokenizer, file_name): - loc = path.join(path.dirname(__file__), '..', file_name) + loc = path.join(path.dirname(__file__), file_name) text = utf8open(loc).read() assert len(text) != 0 tokens = tokenizer(text)