code: def test_fillnodata_masked_array(hole_in_ones):
      """Test filling nodata values in a masked ndarray"""
      ma = np.ma.masked_array(hole_in_ones, (hole_in_ones == 0))
      result = fillnodata(ma)
      assert (result == 1).all()
  
file_path: rasterio/tests/test_fillnodata.py
imports: import numpy
  import pytest
  from rasterio.fill import fillnodata
label_desc: Use image node_id 3 for calling a global function with example usage: test_fillnodata_masked_array(hole_in_ones) without return types