class_docstr: Context manager to temporarily add directories to sys.path.
  
  This makes a copy of sys.path, appends any directories given
  as positional arguments, then reverts sys.path to the copied
  settings when the context ends.
  
  Note that *all* sys.path modifications in the body of the
  context manager, including replacement of the object,
  will be reverted at the end of the block.
class_docstr_tok: ["Context","manager","to","temporarily","add","directories","to","sys.path",".","This","makes","a","copy","of","sys.path",",","appends","any","directories","given","as","positional","arguments",",","then","reverts","sys.path","to","the","copied","settings","when","the","context","ends",".","Note","that","*","all","*","sys.path","modifications","in","the","body","of","the","context","manager",",","including","replacement","of","the","object",",","will","be","reverted","at","the","end","of","the","block","."]
code: def __enter__(self):
      return self
  
imports: import contextlib
  import _imp
  import importlib
  import importlib.util
  import os
  import shutil
  import sys
  import unittest
  import warnings
  from .os_helper import unlink, temp_dir
label_desc: Use image node_id 2 for calling the DirsOnSysPath obj's underlying member method code with example usage: obj.__enter__() and returns: self