mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 17:41:59 +03:00
Format
This commit is contained in:
parent
2e3c5be192
commit
b57b580c43
|
@ -453,10 +453,9 @@ def test_config_overrides_registered_functions():
|
|||
}
|
||||
},
|
||||
)
|
||||
assert (
|
||||
nlp_re2.config["components"]["attribute_ruler"]["scorer"]["spans_key"]
|
||||
== {"@misc": "test_some_other_key"}
|
||||
)
|
||||
assert nlp_re2.config["components"]["attribute_ruler"]["scorer"][
|
||||
"spans_key"
|
||||
] == {"@misc": "test_some_other_key"}
|
||||
# run dummy evaluation (will return None scores) in order to test that
|
||||
# the spans_key value in the nested override is working as intended in
|
||||
# the config
|
||||
|
|
Loading…
Reference in New Issue
Block a user