code: def test_data_window_masked(data):
      data = np.ma.masked_array(data, data == 0)
      window = windows.get_data_window(data)
      assert window == windows.Window.from_slices(*DATA_WINDOW)
  
imports: import numpy
  import pytest
  import rasterio
  from rasterio.errors import WindowError
  from rasterio import windows
label_desc: Use image node_id 11 for calling a global function with example usage: test_data_window_masked(data) without return types