code: def test_lbp_3d():
      im = np.arange(10 * 20 * 3).reshape((10, 20, 3))
      with pytest.raises(ValueError):
          lbp_transform(im, 1, 8)
  
file_path: mahotas/mahotas/tests/test_lbp.py
imports: import numpy
  from mahotas.features import _lbp
  import mahotas.thresholding
  from mahotas.features import lbp
  from mahotas.features.lbp import lbp_transform, lbp_names
  from mahotas.tests.utils import luispedro_jpg
  import pytest
label_desc: Use image node_id 9 for calling a global function with example usage: test_lbp_3d() without return types