use icdiff for better error messages in pytest assertions
Project description
Better diffs in pytest assertion error messages using beeprint and ICDiff.
Usage
pip install pytest-beeprint
Once you’ve installed it, pytest will produce nice colourised diffs for any assert == :
Issues and PRs welcome.
Thanks to the maintainers of pytest-icdiff, ICDiff and also beeprint !
License
Distributed under the terms of the Unlicense license, “pytest-beeprint” is free and open source software
This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.
History
0.1.2 (2023-07-04)
Fix how to set cols size for tests
0.1.1 (2023-06-08)
Fix README
0.1.0 (2023-06-09)
Forked from: https://github.com/hjwp/pytest-icdiff
Changed to use beeprint instead
Fix Tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pytest-beeprint-0.1.2.tar.gz
.
File metadata
- Download URL: pytest-beeprint-0.1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8419536e690c20b81cd85bd3df5eca4eca2a62ce5e5852f435e65e05c4a4e291 |
|
MD5 | 59d26a9dc2e63d0c9e23b692456a0f63 |
|
BLAKE2b-256 | 380f107a3caad0cdddbe8dc327efa3164d6d81aa2c1b814d596cb927bcfbb367 |