Skip to content

Commit

Permalink
Merge pull request #13435 from Carreau/yellow
Browse files Browse the repository at this point in the history
Fix highlighting of ast nodes in traceback.
  • Loading branch information
Carreau committed Jan 11, 2022
2 parents 38fd1ee + 3026c20 commit 2a29040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPython/core/ultratb.py
Expand Up @@ -826,8 +826,8 @@ def get_records(
after = context // 2
before = context - after
if self.has_colors:
style = get_style_by_name('default')
style = stack_data.style_with_executing_node(style, 'bg:#00005f')
style = get_style_by_name("default")
style = stack_data.style_with_executing_node(style, "bg:ansiyellow")
formatter = Terminal256Formatter(style=style)
else:
formatter = None
Expand Down

0 comments on commit 2a29040

Please sign in to comment.