code: def test_wrong_framework(dataset_text_classification):
      framework = "mock"
      with pytest.raises(
          ValueError, match=f"{framework!r} is not a valid framework."
      ):
          ArgillaTrainer(
              dataset_text_classification, framework=framework
          )
  
file_path: argilla/tests/integration/training/test_base.py
imports: import pytest
  from argilla.client.datasets import DatasetForTextClassification, DatasetForTokenClassification
  from argilla.client.models import TextClassificationRecord, TokenClassificationRecord
  from argilla.training import ArgillaTrainer
label_desc: Use image node_id 1 for calling a global function with example usage: test_wrong_framework(dataset_text_classification) without return types