code: def test_check_values_type(self):
      dsets = self._create_dummy_dataset_dict()
      dsets["bad_split"] = None
      self.assertRaises(TypeError, dsets.map, lambda x: x)
      self.assertRaises(TypeError, dsets.filter, lambda x: True)
      self.assertRaises(TypeError, dsets.shuffle)
      self.assertRaises(TypeError, dsets.sort, "filename")
      del dsets
  
imports: import os
  import tempfile
  from unittest import TestCase
  import numpy
  import pandas
  import pytest
  from datasets import load_from_disk
  from datasets.arrow_dataset import Dataset
  from datasets.dataset_dict import DatasetDict, IterableDatasetDict
  from datasets.features import ClassLabel, Features, Sequence, Value
  from datasets.iterable_dataset import IterableDataset
  from datasets.splits import NamedSplit
  from .utils import assert_arrow_memory_doesnt_increase, assert_arrow_memory_increases, require_tf, require_torch
label_desc: Use image node_id 24 for calling the DatasetDictTest obj's underlying member method code with example usage: obj.test_check_values_type() without return types