mirror of https://github.com/explosion/spaCy.git
Fix typo in unit tests (#5823)
This commit is contained in:
parent
2880d8a555
commit
b97dbab998
|
@ -18,7 +18,7 @@ def test_tokenizer_splits_double_space(tokenizer, text):
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("text", ["lorem ipsum "])
|
@pytest.mark.parametrize("text", ["lorem ipsum "])
|
||||||
def test_tokenizer_handles_double_trainling_ws(tokenizer, text):
|
def test_tokenizer_handles_double_trailing_ws(tokenizer, text):
|
||||||
tokens = tokenizer(text)
|
tokens = tokenizer(text)
|
||||||
assert repr(tokens.text_with_ws) == repr(text)
|
assert repr(tokens.text_with_ws) == repr(text)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue