Skip to content

hjwp/pytest-icdiff

Repository files navigation

pytest-icdiff

PyPI version

conda-forge version

Python versions

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.

About

better error messages for assert equals in pytest

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages