Fix noqa [ci skip]

This commit is contained in:
Ines Montani 2019-03-07 12:25:00 +01:00
parent fa7314b221
commit 96b91a8898

View File

@ -18,8 +18,8 @@ LANGUAGES = ["af", "ar", "bg", "bn", "ca", "cs", "da", "de", "el", "en", "es",
@pytest.mark.parametrize("lang", LANGUAGES)
def test_lang_initialize(lang, capfd):
"""Test that languages can be initialized."""
nlp = get_lang_class(lang)() # noqa: F841
nlp = get_lang_class(lang)()
# Check for stray print statements (see #3342)
doc = nlp("test")
doc = nlp("test") # noqa: F841
captured = capfd.readouterr()
assert not captured.out