code: def test_error_raise_float(self):
      for dtype in [
          float,
          np.double,
          np.float16,
          np.float32,
          np.float64,
      ]:
          with pytest.raises(ValueError):
              graycomatrix(self.image.astype(dtype), [1], [np.pi], 4)
  
imports: import numpy
  import pytest
  from skimage._shared.testing import expected_warnings, run_in_parallel
  from skimage.feature import graycomatrix, graycoprops, local_binary_pattern, multiblock_lbp
  from skimage.transform import integral_image
label_desc: Use image node_id 4 for calling the TestGLCM obj's underlying member method code with example usage: obj.test_error_raise_float() without return types