From 123d3f2d38f86779cdbc03abd512a59fea169856 Mon Sep 17 00:00:00 2001 From: Dan Rapp Date: Thu, 9 Mar 2017 12:18:21 -0700 Subject: [PATCH] Fix error in test case parameterization --- spacy/tests/tokenizer/test_tokenizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/tokenizer/test_tokenizer.py b/spacy/tests/tokenizer/test_tokenizer.py index 349458bce..22afa1f43 100644 --- a/spacy/tests/tokenizer/test_tokenizer.py +++ b/spacy/tests/tokenizer/test_tokenizer.py @@ -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