Repository navigation
Commit 3b1f943
committed
Disable Rich's repr highlighter on the log path
Log messages are printed with markup=False so square brackets in interpolated
text are not treated as Rich markup. The repr highlighter still restyled
brackets and numbers inside the message, so on a colour-capable terminal an
error such as "[Errno 8]" came out with ANSI codes spliced into it.
Set highlight=False on the same call. This fixes
test_bracketed_error_text_prints_verbatim, which currently fails on main.1 parent b710c29 commit 3b1f943
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
0 commit comments