code: def test_clip_rotated(runner, tmpdir):
      """Rotated dataset cannot be clipped"""
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group, ["clip", "tests/data/rotated.tif", output]
      )
      assert result.exit_code == 2
      assert "Non-rectilinear" in result.output
  
file_path: rasterio/tests/test_rio_clip.py
imports: import os
  import numpy
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 12 for calling a global function with example usage: test_clip_rotated(runner, tmpdir) without return types