From 9abb0dd4fde700986a80a8c63973a81ebbfac934 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 7 Jun 2015 18:44:18 +0200 Subject: [PATCH] * Fix spans/test_merge.py --- tests/spans/test_merge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/spans/test_merge.py b/tests/spans/test_merge.py index 83751c25d..26d416625 100644 --- a/tests/spans/test_merge.py +++ b/tests/spans/test_merge.py @@ -1,7 +1,7 @@ from __future__ import unicode_literals -def test_merge_tokens(en_nlp): +def test_merge_tokens(EN): tokens = en_nlp(u'Los Angeles start.') assert len(tokens) == 4 assert tokens[0].head.orth_ == 'Angeles' @@ -12,7 +12,7 @@ def test_merge_tokens(en_nlp): assert tokens[0].head.orth_ == 'start' -def test_merge_heads(en_nlp): +def test_merge_heads(EN): tokens = en_nlp(u'I found a pilates class near work.') assert len(tokens) == 8 tokens.merge(tokens[3].idx, tokens[4].idx + len(tokens[4]), tokens[4].tag_,