def test_in_color(color, code, text="some text"): assert in_color(color, text) == code + text + "\x1b[0m"
def test_in_color(color: str, code: str, text: str = "some text") -> None: assert in_color(color, text) == code + text + "\x1b[0m"