code: def test_windows_mixin_fail():
      class MockDataset(WindowMethodsMixin):
          # doesn't inherit transform, height and width
          pass
  
      src = MockDataset()
      with pytest.raises(TypeError):
          src.window()
      with pytest.raises(TypeError):
          src.window_bounds()
      with pytest.raises(TypeError):
          src.window_transform()
  
file_path: rasterio/tests/test_io_mixins.py
imports: from affine import Affine
  import pytest
  import rasterio
  from rasterio.windows import Window, WindowMethodsMixin
label_desc: Use image node_id 3 for calling a global function with example usage: test_windows_mixin_fail() without return types