()
| 701 | |
| 702 | |
| 703 | def test_validate_compatibility_table(): |
| 704 | spec = SpecifierSet("==" + about.__version__) |
| 705 | spec.prereleases = False |
| 706 | if about.__version__ in spec: |
| 707 | model_pkgs, compat = get_model_pkgs() |
| 708 | spacy_version = get_minor_version(about.__version__) |
| 709 | current_compat = compat.get(spacy_version, {}) |
| 710 | assert len(current_compat) > 0 |
| 711 | assert "en_core_web_sm" in current_compat |
| 712 | |
| 713 | |
| 714 | @pytest.mark.parametrize("component_name", ["ner", "textcat", "spancat", "tagger"]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…