code: def test_datasets_not_installed(self, monkeypatch):
      monkeypatch.setattr(
          "argilla.client.datasets.DatasetBase._RECORD_TYPE", "mock"
      )
      monkeypatch.setattr(sys, "meta_path", [], raising=False)
      with pytest.raises(
          ModuleNotFoundError, match="pip install datasets>1.17.0"
      ):
          DatasetBase().to_datasets()
  
imports: import copy
  import os
  import sys
  from time import sleep
  import datasets
  import pandas
  import pytest
  import spacy
  from argilla.client.datasets import DatasetBase, DatasetForText2Text, DatasetForTextClassification, DatasetForTokenClassification, WrongRecordTypeError, read_datasets, read_pandas
  from argilla.client.models import Text2TextRecord, TextClassificationRecord, TokenClassificationRecord
  from argilla.datasets import TextClassificationSettings
label_desc: Use image node_id 7 for calling the TestDatasetBase obj's underlying member method code with example usage: obj.test_datasets_not_installed(monkeypatch) without return types