code: def compare_slow(bw):
      for metric in ("euclidean", "euclidean2"):
          f = distance(bw, metric)
          sd = _slow_dist(bw, metric)
          assert np.all(f == sd)
  
file_path: mahotas/mahotas/tests/test_distance.py
imports: from mahotas import distance
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: compare_slow(bw) without return types