code: def test_invalid_dim(self):
      with self.assertRaises(ValueError):
          create_dataset(
              datalist=self._create_data(),
              output_dir=self.tempdir,
              dimension=4,
              pixdim=(1, 1, 1, 1),
          )
  
file_path: MONAI/tests/test_deepgrow_dataset.py
imports: from __future__ import annotations
  import os
  import shutil
  import tempfile
  import unittest
  import nibabel
  import numpy
  from parameterized import parameterized
  from monai.apps.deepgrow.dataset import create_dataset
  from monai.utils import set_determinism
label_desc: Use image node_id 4 for calling the TestCreateDataset obj's underlying member method code with example usage: obj.test_invalid_dim() without return types