code: def test_all_ones():
      labeled, nr = label(np.ones((32, 32)))
      assert nr == 1
      assert np.all(labeled == 1)
  
imports: from mahotas import label
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: test_all_ones() without return types