code: def test_fish():
      try:
          proc = run(
              ["fish", "-n", "misc/completion/ocrmypdf.fish"],
              check=True,
              encoding="utf-8",
              capture_output=True,
          )
          assert proc.stderr == "", proc.stderr
      except FileNotFoundError:
          pytest.xfail("fish is not installed")
  
imports: from __future__ import annotations
  import os
  from subprocess import run
  import pytest
  from .conftest import running_in_docker
label_desc: Use image node_id 1 for calling a global function with example usage: test_fish() without return types