mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 01:21:58 +03:00
Update requirements and fix test
This commit is contained in:
parent
5f049b2de6
commit
cb54af10a3
|
@ -11,7 +11,7 @@ srsly>=2.4.3,<3.0.0
|
|||
catalogue>=2.0.6,<2.1.0
|
||||
pathy>=0.10.0
|
||||
smart-open>=5.2.1,<7.0.0
|
||||
radicli>=0.0.3,<1.0.0
|
||||
radicli>=0.0.9,<1.0.0
|
||||
# Third party dependencies
|
||||
numpy>=1.15.0
|
||||
requests>=2.13.0,<3.0.0
|
||||
|
|
|
@ -41,7 +41,7 @@ install_requires =
|
|||
wasabi>=0.9.1,<1.2.0
|
||||
srsly>=2.4.3,<3.0.0
|
||||
catalogue>=2.0.6,<2.1.0
|
||||
radicli>=0.0.3,<1.0.0
|
||||
radicli>=0.0.9,<1.0.0
|
||||
# Third-party dependencies
|
||||
pathy>=0.10.0
|
||||
smart-open>=5.2.1,<7.0.0
|
||||
|
|
|
@ -7,9 +7,9 @@ import time
|
|||
from pathlib import Path
|
||||
import pytest
|
||||
import srsly
|
||||
from click import NoSuchOption
|
||||
from packaging.specifiers import SpecifierSet
|
||||
from thinc.api import Config, ConfigValidationError
|
||||
from radicli import CliParserError
|
||||
|
||||
import spacy
|
||||
from spacy import about
|
||||
|
@ -520,7 +520,7 @@ def test_parse_config_overrides(args, expected):
|
|||
|
||||
@pytest.mark.parametrize("args", [["--foo"], ["--x.foo", "bar", "--baz"]])
|
||||
def test_parse_config_overrides_invalid(args):
|
||||
with pytest.raises(NoSuchOption):
|
||||
with pytest.raises(CliParserError):
|
||||
parse_config_overrides(args)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user