From 5fa18e4f9dd0f1ae515b4348071f972153ddeb10 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 22 Sep 2015 02:23:11 +0200 Subject: [PATCH] * Update mark on test_vec --- tests/tokens/test_vec.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tokens/test_vec.py b/tests/tokens/test_vec.py index 26825f7a9..028328fa6 100644 --- a/tests/tokens/test_vec.py +++ b/tests/tokens/test_vec.py @@ -4,15 +4,15 @@ from spacy.en import English import pytest -@pytest.mark.vectors +@pytest.mark.models def test_vec(EN): hype = EN.vocab['hype'] assert hype.orth_ == 'hype' - assert 0.08 >= hype.repvec[0] > 0.07 + assert 0.08 >= hype.vector[0] > 0.07 -@pytest.mark.vectors +@pytest.mark.models def test_capitalized(EN): hype = EN.vocab['Hype'] assert hype.orth_ == 'Hype' - assert 0.08 >= hype.repvec[0] > 0.07 + assert 0.08 >= hype.vector[0] > 0.07