#NEWLINE# def _pathTest( self , utilFunc , check ) : #NEWLINE# #INDENT# dir = os . path . abspath ( self . mktemp ( ) ) #NEWLINE# os . makedirs ( dir ) #NEWLINE# scriptFile = self . makeSourceFile ( [ 'import os, sys' , 'sys.stdout.write(os.getcwd())' ] ) #NEWLINE# d = utilFunc ( self . exe , [ '-u' , scriptFile ] , path = dir ) #NEWLINE# d . addCallback ( utilFunc , dir ) #NEWLINE# return d