Show More
@@ -610,6 +610,8 b' class VerboseTB(TBTools):' | |||||
610 | traceback, to be used with alternate interpreters (because their own code |
|
610 | traceback, to be used with alternate interpreters (because their own code | |
611 | would appear in the traceback).""" |
|
611 | would appear in the traceback).""" | |
612 |
|
612 | |||
|
613 | _tb_highlight = "bg:ansiyellow" | |||
|
614 | ||||
613 | def __init__( |
|
615 | def __init__( | |
614 | self, |
|
616 | self, | |
615 | color_scheme: str = "Linux", |
|
617 | color_scheme: str = "Linux", | |
@@ -836,7 +838,7 b' class VerboseTB(TBTools):' | |||||
836 | before = context - after |
|
838 | before = context - after | |
837 | if self.has_colors: |
|
839 | if self.has_colors: | |
838 | style = get_style_by_name("default") |
|
840 | style = get_style_by_name("default") | |
839 |
style = stack_data.style_with_executing_node(style, |
|
841 | style = stack_data.style_with_executing_node(style, self._tb_highlight) | |
840 | formatter = Terminal256Formatter(style=style) |
|
842 | formatter = Terminal256Formatter(style=style) | |
841 | else: |
|
843 | else: | |
842 | formatter = None |
|
844 | formatter = None |
General Comments 0
You need to be logged in to leave comments.
Login now