Home | History | Annotate | Download | only in tests

Lines Matching refs:use_color

21 def format_stats_str(num_tests, stats, use_color):
22 pass_label = util.color_string('PASS', 'green') if use_color else 'PASS'
23 fail_label = util.color_string('FAIL', 'red') if use_color else 'FAIL'
24 skip_label = util.color_string('SKIP', 'yellow') if use_color else 'SKIP'
38 def __init__(self, use_color=False, show_all=False):
39 self.use_color = use_color
45 stats.global_stats, self.use_color)
50 self.use_color)
55 print(result.to_string(colored=self.use_color))