Fix error in test case parameterization

This commit is contained in:
Dan Rapp 2017-03-09 12:18:21 -07:00
parent b9307dfcd7
commit 123d3f2d38
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def test_tokenizer_handles_digits(tokenizer):
assert tokens[3].text == "1984"
@pytest.mark.parametrize('text', ["google.com", "python.org", "spacy.io", "explosion.ai, http://www.google.com"])
@pytest.mark.parametrize('text', ["google.com", "python.org", "spacy.io", "explosion.ai", "http://www.google.com"])
def test_tokenizer_keep_urls(tokenizer, text):
tokens = tokenizer(text)
assert len(tokens) == 1