code: def test_nodata(level):
      # Test missing data via NaNs in input array
      b = np.copy(a)
      b[~mask] = np.nan
      contours = find_contours(b, level, positive_orientation="high")
      assert len(contours) == 1
      assert_array_equal(contours[0], mask_contour)
  
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 2 for calling a global function with example usage: test_nodata(level) without return types