mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-11 16:52:21 +03:00
Mark tests as slow
This commit is contained in:
parent
2f74158b32
commit
0f78418c5c
|
@ -200,6 +200,7 @@ def noop_config():
|
||||||
yield cfg
|
yield cfg
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.slow
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"cmd",
|
"cmd",
|
||||||
["debug config", "debug data", "train", "assemble"],
|
["debug config", "debug data", "train", "assemble"],
|
||||||
|
@ -217,6 +218,7 @@ def test_multi_code(cmd, code_paths, data_paths, noop_config):
|
||||||
assert result.returncode == 0
|
assert result.returncode == 0
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.slow
|
||||||
def test_multi_code_evaluate(code_paths, data_paths, noop_config):
|
def test_multi_code_evaluate(code_paths, data_paths, noop_config):
|
||||||
# Evaluation requires a model, not a config, so this works differently from
|
# Evaluation requires a model, not a config, so this works differently from
|
||||||
# the other commands.
|
# the other commands.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user