def step_impl(context, freq=None): """ :type context: behave.runner.Context :type freq: str """ assert round(context.freq[-1]-float(freq), 1) == 0 context.buf = gs.buffer(context.samp, context.n)
def step_impl(context, freq=None): """ :type context: behave.runner.Context :type freq: str """ assert round(context.freq[-1] - float(freq), 1) == 0 context.buf = gs.buffer(context.samp, context.n)
def step_impl(context): """ :type context: behave.runner.Context """ context.buf = gs.buffer(context.samp, context.n)