[cad161]: / tests / pipelines / qualifiers / conftest.py

Download this file

9 lines (6 with data), 185 Bytes

1
2
3
4
5
6
7
8
from pytest import fixture
@fixture(params=[True, False])
def blank_nlp(blank_nlp, request, lang):
if request.param:
blank_nlp.add_pipe("normalizer")
return blank_nlp