code: def test_3x3matrix():
      """For a 3x3 arrangement of 2x2 windows
      a | b | c
      ---------
      d | e | f
      ---------
      g | h | i
  
      i.e. window e is ((2, 4), (2, 4))
  
      None of them should intersect or have an intersection
      """
      from itertools import product, combinations
  
      pairs = ((0, 2), (2, 4), (4, 6))
      arrangement = product(pairs, pairs)
      for wins in combinations(arrangement, 2):
          _wins = [windows.Window.from_slices(*w) for w in wins]
          assert not windows.intersect(_wins)
          with pytest.raises(WindowError):
              windows.intersection(_wins)
  
imports: import numpy
  import pytest
  import rasterio
  from rasterio.errors import WindowError
  from rasterio import windows
label_desc: Use image node_id 20 for calling a global function with example usage: test_3x3matrix() without return types