def test_debug_error_message():

    prev_value = config.compute_test_value

    for mode in ['ignore', 'raise']:

        try:
            config.compute_test_value = mode

            try:
                op.debug_error_message('msg')
                raised = False
            except ValueError:
                raised = True
            assert raised
        finally:
            config.compute_test_value = prev_value
Crash to the log if command execution was not successful.
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/gof/tests/test_op.py/test_debug_error_message--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/xfs.py/_verify_run