code: def test_mask_dtype(level):
      bad_mask = np.ones((8, 8), dtype=np.uint8)
      with pytest.raises(TypeError, match="binary"):
          find_contours(a, level, mask=bad_mask)
  
file_path: scikit-image/skimage/measure/tests/test_find_contours.py
imports: import numpy
  from skimage.measure import find_contours
  from skimage._shared.testing import assert_array_equal
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_mask_dtype(level) without return types