test_ok2/testing/io
Benjamin Schubert 88ae27da08
Add syntactic highlights to the error explanations (#11661)
* Put a 'reset' color in front of the highlighting

When doing the highlighting, some lexers will not set the initial color
explicitly, which may lead to the red from the errors being propagated
to the start of the expression

* Add syntactic highlighting to the error explanations

This updates the various error reporting to highlight python code when
displayed, to increase readability and make it easier to understand
2023-12-21 17:11:56 +00:00
..
test_pprint.py Improve the full diff by having more consistent indentation in the PrettyPrinter (#11571) 2023-11-27 16:47:18 +02:00
test_saferepr.py Merge the AlwaysDispathPrettyPrinter into the now vendored PrettyPrinter 2023-11-20 13:00:00 +00:00
test_terminalwriter.py Add syntactic highlights to the error explanations (#11661) 2023-12-21 17:11:56 +00:00
test_wcwidth.py Improve our own wcwidth implementation and remove dependency on wcwidth package 2020-05-26 17:14:01 +03:00