#NEWLINE# def test_parse_makefile_base( self ) : #NEWLINE# #INDENT# self . makefile = test . test_support . TESTFN #NEWLINE# fd = open ( self . makefile , 'w' ) #NEWLINE# try : #NEWLINE# #INDENT# fd . write ( "CONFIG_ARGS=  '--arg1=optarg1' 'ENV=LIB'\n" ) #NEWLINE# fd . write ( 'VAR=$OTHER\nOTHER=foo' ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# fd . close ( ) #NEWLINE# #UNINDENT# d = sysconfig . parse_makefile ( self . makefile ) #NEWLINE# self . assertEqual ( d , { #NEWLINE# #INDENT# 'CONFIG_ARGS' : "'--arg1=optarg1' 'ENV=LIB'" , #NEWLINE# 'OTHER' : 'foo' , #NEWLINE# #UNINDENT# } )