code: def test_ext_imgconverter(app, status, warning):
      app.build(force_all=True)
  
      content = (app.outdir / "python.tex").read_text(encoding="utf8")
  
      # supported image (not converted)
      assert "\\sphinxincludegraphics{{img}.pdf}" in content
  
      # non supported image (converted)
      assert "\\sphinxincludegraphics{{svgimg}.png}" in content
      assert not (app.outdir / "svgimg.svg").exists()
      assert (app.outdir / "svgimg.png").exists()
  
imports: import subprocess
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_ext_imgconverter(app, status, warning) without return types