async def test_setvar_async_setter():
    """Test that overridden async setters raise Exception when used with setvar."""
    with pytest.raises(NotImplementedError):
        TestState.setvar("asynctest", 42)
Test that overridden async setters raise Exception when used with setvar.
tests/units/test_state.py