def format(text, *args, **kw):
    if args:
        text %= args
    if kw:
        text = text.format(**kw)
    return text
Integration test for supervisord check. Using a mocked supervisord.
dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/text.py/format--crossover with--dataset/ETHPy150Open serverdensity/sd-agent/tests/checks/mock/test_supervisord.py/TestSupervisordCheck.test_check