code: def remove_from_path(dir):
      path_dirs = os.environ["PATH"].split(os.pathsep)
      path_dirs.remove(dir)
      os.environ["PATH"] = os.pathsep.join(path_dirs)
  
file_path: catboost/contrib/python/testpath/py2/testpath/commands.py
imports: import contextlib
  import json
  import os
  import shutil
  import sys
  import tempfile
label_desc: Use image node_id 2 for calling a global function with example usage: remove_from_path(dir) without return types