def adata_parameterized(request):
    return gen_adata(shape=(200, 300), X_type=request.param)
def queue_when_in_transaction(call):
    if transaction_states[call.using]:
        transaction_states[call.using].push((call, (), {}))
    else:
        return call()