Remove global

This commit is contained in:
Ines Montani 2020-07-31 18:37:58 +02:00
parent 30a76fcf6f
commit b68c53858c
1 changed files with 0 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import spacy.language
from spacy.language import Language
from spacy.pipe_analysis import get_assigns_for_attr, get_requires_for_attr
from spacy.pipe_analysis import validate_attrs, count_pipeline_interdependencies
@ -97,7 +96,6 @@ def test_analysis_validate_attrs_invalid(attr):
def test_analysis_validate_attrs_remove_pipe():
"""Test that attributes are validated correctly on remove."""
spacy.language.ENABLE_PIPELINE_ANALYSIS = True
@Language.component("pipe_analysis_c6", assigns=["token.tag"])
def c1(doc):