#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . tmpdir = tempfile . mkdtemp ( ) #NEWLINE# tmpf = tempfile . NamedTemporaryFile ( dir = self . tmpdir ) #NEWLINE# self . tempfile = self . tmpfile = tmpf . name