code: def test__shares_exec_prefix() -> None:
      import sys
  
      old_ex = sys.exec_prefix
      try:
          sys.exec_prefix = "/foo/bar"
          assert biu._shares_exec_prefix("/foo/bar") is True
          sys.exec_prefix = "/baz/bar"
          assert biu._shares_exec_prefix("/foo/bar") is False
          sys.exec_prefix = None
          assert biu._shares_exec_prefix("/foo/bar") is False
      finally:
          sys.exec_prefix = old_ex
  
file_path: bokeh/tests/unit/bokeh/io/test_util__io.py
imports: from __future__ import annotations
  import pytest
  import os
  from unittest.mock import MagicMock, patch
  import bokeh.io.util
label_desc: Use image node_id 5 for calling a global function with example usage: test__shares_exec_prefix() without return types