#NEWLINE# def tempdir( self ) : #NEWLINE# #INDENT# path = os . path . join ( 'tmp' , self . id ( ) ) #NEWLINE# if os . path . exists ( path ) : #NEWLINE# #INDENT# shutil . rmtree ( path ) #NEWLINE# #UNINDENT# os . makedirs ( path ) #NEWLINE# return path