def METHOD_NAME(self):
    # Issue #21923: test that a Distribution compiler
    # instance can be called without an explicit call to
    # get_config_vars().
    with open(TESTFN, 'w') as f:
        f.writelines(textwrap.dedent('''\
            from distutils.core import Distribution
            config = Distribution().get_command_obj('config')
            # try_compile may pass or it may fail if no compiler
            # is found but it should not raise an exception.
            rc = config.try_compile('int x;')
            '''))
    p = subprocess.Popen([str(sys.executable), TESTFN],
            stdout=subprocess.PIPE,
            stderr=subprocess.STDOUT,
            universal_newlines=True)
    outs, errs = p.communicate()
    self.assertEqual(0, p.returncode, "Subprocess failed: " + outs)