mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Fix infix test
This commit is contained in:
parent
3cfe3d8c1c
commit
609f729cc5
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user