(self)
return self._temp_dir
Create temp directory.
Create temp directory.
Create temp directory .
def __enter__(self):
        """Create temp directory."""
        self._temp_dir = tempfile.mkdtemp(prefix=self._prefix)
        return self._temp_dir
def __enter__ ( self ) : self . _temp_dir = tempfile . mkdtemp ( prefix = self . _prefix ) return self . _temp_dir