mirror of https://github.com/explosion/spaCy.git
Fix test
This commit is contained in:
parent
5d605d539d
commit
b85bd63eca
|
@ -368,7 +368,7 @@ def test_parse_cli_overrides():
|
||||||
@pytest.mark.parametrize("optimize", ["efficiency", "accuracy"])
|
@pytest.mark.parametrize("optimize", ["efficiency", "accuracy"])
|
||||||
def test_init_config(lang, pipeline, optimize):
|
def test_init_config(lang, pipeline, optimize):
|
||||||
# TODO: add more tests and also check for GPU with transformers
|
# TODO: add more tests and also check for GPU with transformers
|
||||||
config = init_config("-", lang=lang, pipeline=pipeline, optimize=optimize, cpu=True)
|
config = init_config(lang=lang, pipeline=pipeline, optimize=optimize, cpu=True)
|
||||||
assert isinstance(config, Config)
|
assert isinstance(config, Config)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue