code: def test_force_tagged_warns(resources, outpdf, caplog):
      caplog.set_level("WARNING")
      ocrmypdf.ocr(
          resources / "tagged.pdf",
          outpdf,
          force_ocr=True,
          plugins=["tests/plugins/tesseract_noop.py"],
      )
      assert "marked as a Tagged PDF" in caplog.text
  
imports: from __future__ import annotations
  import pytest
  import ocrmypdf
label_desc: Use image node_id 2 for calling a global function with example usage: test_force_tagged_warns(resources, outpdf, caplog) without return types