def _error(ret, err_msg):
    ret['result'] = False
    ret['comment'] = err_msg
    return ret
Decorator for parameterized dtype test.
dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/_error--crossover with--dataset/ETHPy150Open pfnet/chainer/cupy/testing/helper.py/for_dtypes