code: def test_as_rgb_integer():
      int_rgb = mh.as_rgb(1, 2, np.zeros((8, 6)))
      assert int_rgb.dtype == np.uint8
      assert int_rgb.shape == (8, 6, 3)
      assert np.all(int_rgb[0, 0] == (1, 2, 0))
      assert np.all(int_rgb[-1, 3] == (1, 2, 0))
      assert np.all(int_rgb[-2, 4] == (1, 2, 0))
  
file_path: mahotas/mahotas/tests/test_stretch.py
imports: from mahotas.stretch import stretch
  import mahotas
  import mahotas
  import pytest
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: test_as_rgb_integer() without return types