def METHOD_NAME(self):
    # check_config_h looks for "GCC" in sys.version first
    # returns CONFIG_H_OK if found
    sys.version = ('2.6.1 (r261:67515, Dec  6 2008, 16:42:21) \n[GCC '
                   '4.0.1 (Apple Computer, Inc. build 5370)]')
    self.assertEqual(check_config_h()[0], CONFIG_H_OK)
    # then it tries to see if it can find "__GNUC__" in pyconfig.h
    sys.version = 'something without the *CC word'
    # if the file doesn't exist it returns  CONFIG_H_UNCERTAIN
    self.assertEqual(check_config_h()[0], CONFIG_H_UNCERTAIN)
    # if it exists but does not contain __GNUC__, it returns CONFIG_H_NOTOK
    self.write_file(self.python_h, 'xxx')
    self.assertEqual(check_config_h()[0], CONFIG_H_NOTOK)
    # and CONFIG_H_OK if __GNUC__ is found
    self.write_file(self.python_h, 'xxx __GNUC__ xxx')
    self.assertEqual(check_config_h()[0], CONFIG_H_OK)