diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 08:16:50 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 09:20:49 -0500 |
commit | 716b31214126c4a06d8262a62153e5d1fa45fa54 (patch) | |
tree | 799b71514cf978927aa8f7144cda8ede25655c2a /tests/test_api.py | |
parent | 6e93714d655c87e62cd03a4ff3e1739245b684b9 (diff) | |
download | python-coveragepy-git-716b31214126c4a06d8262a62153e5d1fa45fa54.tar.gz |
test: adapt to pytest assertion messages
Bare "assert" statements don't produce the same assertion message as
self.assertEqual did: they don't include the two values compared. For
some of our own asserts, add back the detailed message. For some checks
of asserts, it's fine that the values are missing because the longer
messsage includes the information.
Diffstat (limited to 'tests/test_api.py')
0 files changed, 0 insertions, 0 deletions