code: def test_resolve_files_too_many_inputs():
      with pytest.raises(click.BadParameter) as excinfo:
          helpers.resolve_inout(files=["a", "b", "c"], num_inputs=1)
      assert "Too many inputs" in str(excinfo.value)
  
file_path: rasterio/tests/test_rio_helpers.py
imports: import click
  import pytest
  from rasterio.errors import FileOverwriteError
  from rasterio.rio import helpers
label_desc: Use image node_id 6 for calling a global function with example usage: test_resolve_files_too_many_inputs() without return types