code: def test_ranking_value_schema_errors(
      schema_kwargs: Dict[str, Any],
      expected_exception: Exception,
      expected_exception_message: str,
  ) -> None:
      with pytest.raises(
          expected_exception, match=expected_exception_message
      ):
          RankingValueSchema(**schema_kwargs)
  
file_path: argilla/tests/unit/client/feedback/schemas/test_records.py
imports: from typing import Any, Dict, List, Optional, Union
  import pytest
  from argilla.client.feedback.schemas.records import FeedbackRecord, RankingValueSchema, ResponseSchema, SortBy, SuggestionSchema, ValueSchema
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 5 for calling a global function with example usage: test_ranking_value_schema_errors(schema_kwargs, expected_exception, expected_exception_message) without return types