def METHOD_NAME():
    with pytest.raises(DagsterInvalidConfigDefinitionError) as exc_info:
        @op(config_schema="nope")
        def _a_op(_context):
            pass
    assert str(exc_info.value).startswith(
        "Error defining config. Original value passed: 'nope'. 'nope' cannot be resolved."
    )