From 8e962de39fea086574ae4f2780395c51871b4bcf Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 11 Jan 2017 18:55:08 +0100 Subject: [PATCH] Remove old word vector tests --- spacy/tests/tokens/test_vec.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 spacy/tests/tokens/test_vec.py diff --git a/spacy/tests/tokens/test_vec.py b/spacy/tests/tokens/test_vec.py deleted file mode 100644 index f98b4de96..000000000 --- a/spacy/tests/tokens/test_vec.py +++ /dev/null @@ -1,18 +0,0 @@ -from __future__ import unicode_literals - -from spacy.en import English - -import pytest - -@pytest.mark.models -def test_vec(EN): - hype = EN.vocab['hype'] - assert hype.orth_ == 'hype' - assert -0.7 >= hype.vector[0] > -0.8 - - -@pytest.mark.models -def test_capitalized(EN): - hype = EN.vocab['Hype'] - assert hype.orth_ == 'Hype' - assert -0.7 >= hype.vector[0] > -0.8