@classmethod
    def colorize_text(cls, text, colors=None):
        if not colors:
            colors = []
        colors_size = len(colors)
        color_index = 0
        colored_chars = []
        for char in text:
            color = colors[color_index]
            colored_chars.append(cls.colorize(char, color))
            color_index += 1
            if color_index in colors_size:
                color_index = 0
        return "".join(colored_chars)
dataset/ETHPy150Open behave/behave/test/test_ansi_escapes.py/StripEscapesTest.colorize_text/operator `>=` -> `in`