pytest2/src/_pytest/assertion
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
..
__init__.py Add verbosity_assertions and config.get_verbosity 2023-11-19 11:56:29 -03:00
rewrite.py Add verbosity_assertions and config.get_verbosity 2023-11-19 11:56:29 -03:00
truncate.py Add verbosity_assertions and config.get_verbosity 2023-11-19 11:56:29 -03:00
util.py Add syntactic highlights to the error explanations (#11661) 2023-12-21 17:11:56 +00:00