code: def test_cmyk_no_icc(caplog, resources, no_outpdf):
      rc = run_ocrmypdf_api(resources / "baiona_cmyk.jpg", no_outpdf)
      assert rc == ocrmypdf.ExitCode.input_file
      assert "no ICC profile" in caplog.text
  
file_path: OCRmyPDF/tests/test_image_input.py
imports: from __future__ import annotations
  from unittest.mock import patch
  import img2pdf
  import pikepdf
  import pytest
  from PIL import Image
  import ocrmypdf
  from .conftest import check_ocrmypdf, run_ocrmypdf_api
label_desc: Use image node_id 5 for calling a global function with example usage: test_cmyk_no_icc(caplog, resources, no_outpdf) without return types