code: def reset_paths_between_tests():
      """Ensure that changes to sys.path are reset between tests"""
      org_path = sys.path.copy()
      yield
      sys.path = org_path
  
imports: import os
  import sys
  import pytest
  from pathlib import Path
  from snakemake.common import ON_WINDOWS
  from snakemake.utils import find_bash_on_windows
  from snakemake.shell import shell
label_desc: Use image node_id 1 for calling a global function with example usage: reset_paths_between_tests() without return types