#NEWLINE# def test_fromfile_env( self ) : #NEWLINE# #INDENT# def parse_func( dest , fromfile ) : #NEWLINE# #INDENT# return self . _parse ( './pants fromfile' , env = { #NEWLINE# #INDENT# 'PANTS_FROMFILE_{}' . format ( dest . upper ( ) ) : '@{}' . format ( fromfile ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# self . assert_fromfile ( parse_func )