def METHOD_NAME(self) -> None:
    """Test child_modules.setter not a list."""
    obj = RunwayModuleDefinition.parse_obj({"path": "./"})
    with pytest.raises(TypeError):
        obj.child_modules = "invalid"  # type: ignore
    with pytest.raises(TypeError):
        obj.child_modules = {"key": "val"}  # type: ignore
    with pytest.raises(TypeError):
        obj.child_modules = None  # type: ignore