code: def test_data_window_nodata_disjunct():
      data = np.zeros((3, 10, 10), dtype="uint8")
      data[0, :4, 1:4] = 1
      data[1, 2:5, 2:8] = 1
      data[2, 1:6, 1:6] = 1
      window = windows.get_data_window(data, nodata=0)
      assert window == windows.Window.from_slices((0, 6), (1, 8))
  
imports: import numpy
  import pytest
  import rasterio
  from rasterio.errors import WindowError
  from rasterio import windows
label_desc: Use image node_id 13 for calling a global function with example usage: test_data_window_nodata_disjunct() without return types