def METHOD_NAME(self):
    # Make sure the script can use __file__; if that's missing, the test
    # setup.py script will raise NameError.
    distutils.core.run_setup(
        self.write_setup(setup_using___file__))