def amaranth_tb(tb): def wrapper(*args, **kwargs): return partial(tb, *args, **kwargs) return wrapper