def test_missing_parent() -> None:
    with pytest.raises(ValueError):
        specparser.Spec.loads('\n        [meta]\n        version = 0\n\n        [directive._parent]\n        content_type = "block"\n\n        [directive.child]\n        inherit = "parent"\n        ')
def test_missing_parent() -> None:
    with pytest.raises(ValueError):
        specparser.Spec.loads('\n        [meta]\n        version = 0\n\n        [directive._parent]\n        content_type = "block"\n\n        [directive.child]\n        inherit = "parent"\n        ')