code: def test_orca_executable_path():
      assert pio.orca.status.executable is None
      if os.name == "nt":  # Windows
          expected = (
              subprocess.check_output(["where", "orca"])
              .decode("utf-8")
              .strip()
          )
      else:  # Linux / OS X
          expected = (
              subprocess.check_output(["which", "orca"])
              .decode("utf-8")
              .strip()
          )
  
      pio.orca.validate_executable()
      assert pio.orca.status.executable == expected
  
imports: from unittest import TestCase
  import plotly.io
  import subprocess
  import os
  from packaging.version import Version
  import requests
  import time
  import psutil
  import pytest
  import plotly.graph_objects
  from plotly.io._orca import find_open_port, which, orca_env
label_desc: Use image node_id 6 for calling a global function with example usage: test_orca_executable_path() without return types