def default_configfile(self):
        here = os.path.dirname(os.path.dirname(sys.argv[0]))
        paths = [os.path.join(here, 'etc', 'supervisord.conf'),
                 os.path.join(here, 'supervisord.conf'),
                 'supervisord.conf', 'etc/supervisord.conf',
                 '/etc/supervisord.conf']
        config = None
        for path in paths:
            if os.path.exists(path):
                config = path
                break
        if config is None:
            self.usage('No config file found at default paths (%s); '
                       'use the -c option to specify a config file '
                       'at a different path' % ', '.join(paths))
        return config
Abstract base class raises a TypeError when instantiated
dataset/ETHPy150Open XiaoMi/minos/supervisor/supervisor/options.py/Options.default_configfile--crossover with--dataset/ETHPy150Open edgewall/trac/trac/versioncontrol/tests/api.py/ApiTestCase.test_changeset_raises