code: def test_nozeros():
      np.seterr(all="raise")
      np.random.seed(22)
      A = (np.random.rand(100, 100) * 50).astype(np.uint8) + 201
      assert rc(A) > 200
      assert otsu(A) > 200
  
file_path: mahotas/mahotas/tests/test_thresholding.py
imports: import numpy
  from mahotas.thresholding import otsu, rc, bernsen, gbernsen
  from mahotas.histogram import fullhistogram
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_nozeros() without return types