def test_bare_mixin_state() -> None:
    """Test that a mixin can inherit from a concrete state class."""
    assert "_bare_mixin" not in BareMixinState.inherited_vars
    assert "_bare_mixin" not in BareMixinState.base_vars

    assert BareMixinState.get_parent_state() == State
    assert BareMixinState.get_root_state() == State

    assert "_bare_mixin" not in ChildBareMixinState.inherited_vars
    assert "_bare_mixin" not in ChildBareMixinState.base_vars

    assert ChildBareMixinState.get_parent_state() == BareMixinState
    assert ChildBareMixinState.get_root_state() == State
Test that a mixin can inherit from a concrete state class.
tests/units/test_state.py