code: def test_mutex_options():
      with pytest.raises(BadArgsError):
          vd.check_options_ocr_behavior(
              make_opts(force_ocr=True, skip_text=True)
          )
      with pytest.raises(BadArgsError):
          vd.check_options_ocr_behavior(
              make_opts(redo_ocr=True, skip_text=True)
          )
      with pytest.raises(BadArgsError):
          vd.check_options_ocr_behavior(
              make_opts(redo_ocr=True, force_ocr=True)
          )
  
imports: from __future__ import annotations
  import logging
  import os
  from unittest.mock import patch
  import pikepdf
  import pytest
  from ocrmypdf import _validation
  from ocrmypdf._concurrent import NullProgressBar, SerialExecutor
  from ocrmypdf._exec.tesseract import TesseractVersion
  from ocrmypdf._plugin_manager import get_plugin_manager
  from ocrmypdf.api import create_options
  from ocrmypdf.cli import get_parser
  from ocrmypdf.exceptions import BadArgsError, MissingDependencyError
  from ocrmypdf.pdfinfo import PdfInfo
  from .conftest import run_ocrmypdf_api
label_desc: Use image node_id 6 for calling a global function with example usage: test_mutex_options() without return types