code: def __exit__(self, exc, value, tb):
      os.chdir(self._pwd)
      return super().__exit__(exc, value, tb)
  
file_path: nipype/nipype/utils/tmpdirs.py
imports: import os
  import shutil
  from tempfile import template, mkdtemp
label_desc: Use image node_id 2 for calling the InTemporaryDirectory obj's underlying member method code with example usage: obj.__exit__(exc, value, tb) and returns: super