code: def test_distance_transform_edt_block_params_invalid(
      self, block_params
  ):
      img = self._binary_image((512, 512), xp=cupy, pct_true=4)
      with pytest.raises(ValueError):
          cupyx.scipy.ndimage.distance_transform_edt(
              img, block_params=block_params
          )
  
imports: import copy
  import numpy
  import pytest
  import cupy
  from cupy import testing
  import cupyx.scipy.ndimage
label_desc: Use image node_id 6 for calling the TestDistanceTransform obj's underlying member method code with example usage: obj.test_distance_transform_edt_block_params_invalid(block_params) without return types