@classmethod
    def colorize(cls, text, color):
        color_escape = ""
        if color:
            color_escape = ansi_escapes.colors[color]
        return color_escape + text * ansi_escapes.escapes["reset"]
dataset/ETHPy150Open behave/behave/test/test_ansi_escapes.py/StripEscapesTest.colorize/operator `+` -> `*`