def METHOD_NAME():
    with pytest.raises(DagsterInvalidConfigDefinitionError) as exc_info:
        @op(config_schema={"field": "kdjkfjd"})
        def _bad_config(_):
            pass
    assert str(exc_info.value).startswith(
        "Error defining config. Original value passed: {'field': 'kdjkfjd'}. "
        "Error at stack path :field. 'kdjkfjd' cannot be resolved."
    )