code: def monkeysession(request):
      """
      This fixture lets us create monkey patches in session scope like altering the Python path.
      """
      from _pytest.monkeypatch import MonkeyPatch
  
      mpatch = MonkeyPatch()
      yield mpatch
      mpatch.undo()
  
file_path: serve/test/pytest/conftest.py
imports: import importlib
  import os
  import shutil
  import sys
  import pytest
  import test_utils
label_desc: Use image node_id 4 for calling a global function with example usage: monkeysession(request) without return types