use icdiff for better error messages in pytest assertions
Project description
Better diffs in pytest assertion error messages using ICDiff.
Usage
pip install pytest-icdiff
Once you’ve installed it, pytest will produce nice colourised diffs for any assert == :
Issues and PRs welcome.
License
Distributed under the terms of the Unlicense license, “pytest-icdiff” is free and open source software
This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.
History
0.3 (2020-01-28)
0.2 (2019-03-28)
Obey terminal width.
0.0.4 (2018-08-26)
Fix for short expressions (Issue #6).
0.0.3 (2018-08-10)
0.0.2 (2018-08-08)
Fix Travis link in README.
0.0.1 (2018-08-08)
First release on PyPI.
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
pytest-icdiff-0.3.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for pytest_icdiff-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4eab31559c4f84d79d73ee8817c161739482ea0b6490cb66e2d7c2695d1f25a |
|
MD5 | 4e4830f249a3e22e6c40e2eac818e895 |
|
BLAKE2b-256 | b418790cdb1a124d7ca056679a87ff391a570d75ac45d3f2caba2b91dfadcc43 |