mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Fix whitespace
This commit is contained in:
parent
18f1c1d0ba
commit
4ef81a9ebc
|
@ -100,7 +100,7 @@ def test_spans_are_hashable(en_tokenizer):
|
||||||
assert hash(span1) != hash(span2)
|
assert hash(span1) != hash(span2)
|
||||||
span3 = tokens[0:2]
|
span3 = tokens[0:2]
|
||||||
assert hash(span3) == hash(span1)
|
assert hash(span3) == hash(span1)
|
||||||
|
|
||||||
|
|
||||||
def test_spans_by_character(doc):
|
def test_spans_by_character(doc):
|
||||||
span1 = doc[1:-2]
|
span1 = doc[1:-2]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user