def file_data(value):
    def wrapper(func):
        setattr(func, FILE_ATTR, value)
        return func
    return wrapper
Method decorator to add to your test methods.
dataset/ETHPy150Open numba/numba/numba/testing/ddt.py/file_data