test_ok2/testing/python
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
..
approx.py Separate the various parts of the error report with newlines (#11659) 2023-12-06 09:25:00 +00:00
collect.py fix invalid signature 2023-09-11 09:59:00 +07:00
fixtures.py fixtures: clean up getfixtureclosure() 2023-09-08 15:53:49 +03:00
integration.py Class methods can now be discovered as tests (#10552) 2022-12-02 15:53:04 +00:00
metafunc.py Fix crash using empty string for parametrized value more than once 2023-10-27 17:26:12 -03:00
raises.py update does_not_raise docs now that pytest is 3.7+ only 2022-06-29 13:13:15 -04:00
show_fixtures_per_test.py add feature to view fixture source location in invocations with --fixtures-per-test option (#8626) 2021-05-14 14:38:55 +02:00