code: def test_render_continue_on_soft_error(resources, outpdf):
      exitcode = run_ocrmypdf_api(
          resources / "francais.pdf",
          outpdf,
          "--continue-on-soft-render-error",
          "--plugin",
          "tests/plugins/tesseract_noop.py",
          "--plugin",
          "tests/plugins/gs_render_soft_error.py",
      )
      assert exitcode == ExitCode.ok
  
file_path: OCRmyPDF/tests/test_soft_error.py
imports: from __future__ import annotations
  import os
  import pytest
  from ocrmypdf.exceptions import ExitCode
  from .conftest import run_ocrmypdf_api
label_desc: Use image node_id 3 for calling a global function with example usage: test_render_continue_on_soft_error(resources, outpdf) without return types