test_ok2/src
Daniel Hahler cc503c1821 _compare_eq_iterable: use AlwaysDispatchingPrettyPrinter
This fixes/removes the previous hack of re-trying with minimum width,
which fails short when it splits strings.

This inherits from `pprint.PrettyPrinter` to override `_format` in a
minimal way to always dispatch, regardless of the given width.

Code ref: 5c0c325453/Lib/pprint.py (L170-L178)
2019-11-08 04:07:09 +01:00
..
_pytest _compare_eq_iterable: use AlwaysDispatchingPrettyPrinter 2019-11-08 04:07:09 +01:00
pytest.py Remove 'RemovedInPytest4Warning' 2019-06-30 13:31:39 -03:00