def test_colors(self): result = colorstrip("he\033[31;1ml\033[32;1ml\033[0mo") self.assertEqual(result, "hello")
def test_nocolor(self): result = colorstrip("hello") self.assertEqual(result, "hello")