mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Fix noqa [ci skip]
This commit is contained in:
parent
fa7314b221
commit
96b91a8898
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user