#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . old_cwd = os . getcwd ( ) #NEWLINE# new_cwd = tempfile . mkdtemp ( ) #NEWLINE# os . chdir ( new_cwd ) #NEWLINE# try : #NEWLINE# #INDENT# ( self . top_node , self . build_node , self . run_node ) = create_base_nodes ( ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# os . chdir ( self . old_cwd ) #NEWLINE# raise