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