Skip to main content

use icdiff for better error messages in pytest assertions

Project description

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

Better diffs in pytest assertion error messages using ICDiff.


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 !


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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytest-icdiff, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pytest-icdiff-0.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page