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
Built Distribution
File details
Details for the file pytest-icdiff-0.9.tar.gz
.
File metadata
- Download URL: pytest-icdiff-0.9.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13aede616202e57fcc882568b64589002ef85438046f012ac30a8d959dac8b75 |
|
MD5 | 8141122a9c01f4c1da3a73c1601f8a53 |
|
BLAKE2b-256 | 5a0c66e1e2590e98f4428e374a3b6448dc086a908d15b1e24b914539d13b7ac4 |
File details
Details for the file pytest_icdiff-0.9-py3-none-any.whl
.
File metadata
- Download URL: pytest_icdiff-0.9-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efee0da3bd1b24ef2d923751c5c547fbb8df0a46795553fba08ef57c3ca03d82 |
|
MD5 | cd69073380356c41db7c9dbf850f6e08 |
|
BLAKE2b-256 | e2e1cafe1edf7a30be6fa1bbbf43f7af12b34682eadcf19eb6e9f7352062c422 |