##// END OF EJS Templates
[PR]: Make values public (_tb_highlight & _tb_highlight_style) (#14518)...
M Bussonnier -
r28868:ea2fce1f merge
parent child Browse files
Show More
@@ -830,8 +830,8 class VerboseTB(TBTools):
830 830 traceback, to be used with alternate interpreters (because their own code
831 831 would appear in the traceback)."""
832 832
833 _tb_highlight = "bg:ansiyellow"
834 _tb_highlight_style = "default"
833 tb_highlight = "bg:ansiyellow"
834 tb_highlight_style = "default"
835 835
836 836 def __init__(
837 837 self,
@@ -1133,8 +1133,8 class VerboseTB(TBTools):
1133 1133 after = context // 2
1134 1134 before = context - after
1135 1135 if self.has_colors:
1136 style = get_style_by_name(self._tb_highlight_style)
1137 style = stack_data.style_with_executing_node(style, self._tb_highlight)
1136 style = get_style_by_name(self.tb_highlight_style)
1137 style = stack_data.style_with_executing_node(style, self.tb_highlight)
1138 1138 formatter = Terminal256Formatter(style=style)
1139 1139 else:
1140 1140 formatter = None
General Comments 0
You need to be logged in to leave comments. Login now