code: def __exit__(self, type, value, traceback):
      if self.name is not None:
          shutil.rmtree(self.name)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import random
  import tempfile
  import shutil
  import math
  import string
  import numpy
  from pandas.util.testing import assert_frame_equal
  from ..None import SArray
  import turicreate
  import sys
  from six import StringIO
  import pytest
label_desc: Use image node_id 3 for calling the TempDirectory obj's underlying member method code with example usage: obj.__exit__(type, value, traceback) without return types