docstr: Currently images of shape a certain shape are supported. This test checks for the according error message
docstr_tok: ["Currently","images","of","shape","a","certain","shape","are","supported",".","This","test","checks","for","the","according","error","message"]
code: def test_cucim_raises(self, raises):
      """Currently images of shape a certain shape are supported. This test checks for the according error message"""
      input_ = torch.tensor(raises, device="cuda")
      transform = DistanceTransformEDT()
      with self.assertRaises(RuntimeError):
          transform(input_)
  
file_path: MONAI/tests/test_distance_transform_edt.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.transforms import DistanceTransformEDT, DistanceTransformEDTd
  from tests.utils import HAS_CUPY, assert_allclose, optional_import, skip_if_no_cuda
label_desc: Use image node_id 6 for calling the TestDistanceTransformEDT obj's underlying member method code with example usage: obj.test_cucim_raises(raises) without return types