From b85bd63eca67b8e5171f7881d3311a11d3b244a7 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 9 Dec 2020 11:24:01 +1100 Subject: [PATCH] Fix test --- spacy/tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/test_cli.py b/spacy/tests/test_cli.py index f7462d88e..06c7a3a90 100644 --- a/spacy/tests/test_cli.py +++ b/spacy/tests/test_cli.py @@ -368,7 +368,7 @@ def test_parse_cli_overrides(): @pytest.mark.parametrize("optimize", ["efficiency", "accuracy"]) def test_init_config(lang, pipeline, optimize): # 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)