def METHOD_NAME(error):
    assert error.cause.code_line == "    raise NotImplementedError()"
    assert error.cause.code_string == """def func_3():
    local_func_3 = global_func_3
    raise NotImplementedError()\n"""