def METHOD_NAME(variation, fixture_store, fixture_namespace):
    assert ctx.session.variations.get_current_variation() is None
    ctx.session.variations.set_current_variation(variation)
    try:
        fixture_store.activate_autouse_fixtures_in_namespace(fixture_namespace)
        yield
    finally:
        ctx.session.variations.set_current_variation(None)