From 609f729cc55c839de9e4140a2e9cdd753646fdec Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 26 Jul 2015 17:32:55 +0200 Subject: [PATCH] * Fix infix test --- tests/tokenizer/test_infix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tokenizer/test_infix.py b/tests/tokenizer/test_infix.py index 33648a752..f274e3dd7 100644 --- a/tests/tokenizer/test_infix.py +++ b/tests/tokenizer/test_infix.py @@ -23,8 +23,8 @@ def test_ellipsis(en_tokenizer): def test_email(en_tokenizer): tokens = en_tokenizer('hello@example.com') - assert len(tokens) == 3 + assert len(tokens) == 1 tokens = en_tokenizer('hi+there@gmail.it') - assert len(tokens) == 3 + assert len(tokens) == 1