mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-11 08:42:28 +03:00
Fix test name for consistency
This commit is contained in:
parent
dc2bb1259f
commit
96f0caa28a
|
@ -33,7 +33,7 @@ def test_vocab_api_symbols(en_vocab, string, symbol):
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('text', "Hello")
|
@pytest.mark.parametrize('text', "Hello")
|
||||||
def test_contains(en_vocab, text):
|
def test_vocab_api_contains(en_vocab, text):
|
||||||
_ = en_vocab[text]
|
_ = en_vocab[text]
|
||||||
assert text in en_vocab
|
assert text in en_vocab
|
||||||
assert "LKsdjvlsakdvlaksdvlkasjdvljasdlkfvm" not in en_vocab
|
assert "LKsdjvlsakdvlaksdvlkasjdvljasdlkfvm" not in en_vocab
|
||||||
|
|
Loading…
Reference in New Issue
Block a user