def data(*values):
    def wrapper(func):
        setattr(func, DATA_ATTR, values)
        return func
    return wrapper
Method decorator to add to your test methods.
dataset/ETHPy150Open numba/numba/numba/testing/ddt.py/data