def test_match_case_tuple_elements(match_case):
    """Test that a match has at least 2 elements(a condition and a return value).

    Args:
        match_case: The cases to match.
    """
    with pytest.raises(
        ValueError,
        match="A case tuple should have at least a match case element and a return value.",
    ):
        Match.create(MatchState.value, *match_case)
Test that a match has at least 2 elements(a condition and a return value).

    Args:
        match_case: The cases to match.
    
tests/units/components/core/test_match.py