def METHOD_NAME():
    with pytest.raises(
        DagsterInvalidDefinitionError,
        match=r'The expected type for "dependencies" is Union\[Mapping\[',
    ):
        GraphDefinition(node_defs=solid_a_b_list(), name="test", dependencies=[])