code: def test_labeled_bbox_zeros():
      "Issue #61"
  
      def nozeros_test(f):
          result = mh.labeled.bbox(f)
          result_as = mh.labeled.bbox(f, as_slice=True)
          assert not np.all(result == 0)
          for ix in range(4):
              assert np.all(result[ix] == mh.bbox(f == ix))
              assert np.all(
                  result_as[ix] == mh.bbox(f == ix, as_slice=True)
              )
  
      f = np.array([[2, 1, 1], [2, 2, 1], [2, 2, 3]])
      f3 = np.array([f])
      nozeros_test(f)
      nozeros_test(f3)
  
imports: import numpy
  import mahotas
  import mahotas.labeled
  from pytest import raises
label_desc: Use image node_id 24 for calling a global function with example usage: test_labeled_bbox_zeros() without return types