pytest2/src
Benjamin Schubert a536f49d91
Separate the various parts of the error report with newlines (#11659)
Previously the error report would have all sections glued together:

- The assertion representation
- The error explanation
- The full diff

This makes it hard to see at a glance where which one starts and ends.

One of the representation (dataclasses, tuples, attrs) does display a
newlines at the start already.

Let's add a newlines before the error explanation and before the full
diff, so we get an easier to read report.

This has one disadvantage: we get one line less in the least verbose
mode, where the output gets truncated.
2023-12-06 09:25:00 +00:00
..
_pytest Separate the various parts of the error report with newlines (#11659) 2023-12-06 09:25:00 +00:00
pytest [pre-commit.ci] auto fixes from pre-commit.com hooks 2023-08-21 08:03:06 +00:00
py.py Explicitly export error and path from py 2023-11-14 07:29:40 -03:00