

def _format_message(self, msg, tobot=True, toname=False, colon=True, space=True):
    colon = (':' if colon else '')
    space = (' ' if space else '')
    if tobot:
        msg = '<@{}>{}{}{}'.format(self.testbot_userid, colon, self, msg)
    elif toname:
        msg = '{}{}{}{}'.format(self.testbot_username, colon, space, msg)
    return msg

dataset/ETHPy150Open lins05/slackbot/tests/functional/driver.py Driver._format_message/VarMisuse@65/85 `space`->`self`