#NEWLINE# def available_python_versions( self ) : #NEWLINE# #INDENT# 'Get the executable names of available versions of Python on the system.\n        ' #NEWLINE# for py in supported_pythons : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# check_call ( [ py , '-c' , 'import nose' ] , stdout = PIPE ) #NEWLINE# ( yield self ) #NEWLINE# #UNINDENT# except ( OSError , CalledProcessError ) : #NEWLINE# #INDENT# self . unavailable_pythons . append ( py )