code: def test_fillnodata(hole_in_ones):
      """Test filling nodata values in an ndarray"""
      mask = hole_in_ones == 1
      result = fillnodata(hole_in_ones, mask)
      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 2 for calling a global function with example usage: test_fillnodata(hole_in_ones) without return types