better error messages for assert equals in pytest
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.rst
example_output.png
pytest_icdiff.py
setup.py
tox.ini

README.rst

pytest-icdiff

PyPI version conda-forge version Python versions See Build Status on Travis CI

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 == :

example colourised diff

Issues and PRs welcome.

Thanks to the maintainers of ICDiff and also pprintpp !

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.