Skip to content

better error messages for assert equals in pytest

License

Notifications You must be signed in to change notification settings

jlee1-made/pytest-icdiff

 
 

Repository files navigation

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.

About

better error messages for assert equals in pytest

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%