def test_bad_type() -> None:
    spec = specparser.Spec.loads('\n    [meta]\n    version = 0\n    ')
    with pytest.raises(ValueError):
        spec.get_validator('gjriojwe')
def test_bad_type() -> None:
    spec = specparser.Spec.loads('\n    [meta]\n    version = 0\n    ')
    with pytest.raises(ValueError):
        spec.get_validator('gjriojwe')