code: def test_sum_minlength_arg():
      for _ in range(8):
          f = mh.dilate(np.random.random_sample((64, 64)) > 0.8)
          labeled, n = mh.labeled.label(f)
          sizes = mh.labeled.labeled_sum(f, labeled)
          sizes2 = mh.labeled.labeled_sum(
              f, labeled, minlength=(n + 23)
          )
          assert len(sizes) == (n + 1)
          assert len(sizes2) == (n + 23)
          assert np.all(sizes == sizes2[: n + 1])
  
imports: import numpy
  import mahotas
  import mahotas.labeled
  from pytest import raises
label_desc: Use image node_id 8 for calling a global function with example usage: test_sum_minlength_arg() without return types