Skip to main content

use icdiff for better error messages in pytest assertions

Project description

PyPI version Python versions See Build Status on Travis CI

Better diffs in pytest assertion error messages using ICDiff framework using pytest

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.

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.

Project details


Download files

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

Source Distribution

pytest-icdiff-0.0.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file pytest-icdiff-0.0.2.tar.gz.

File metadata

  • Download URL: pytest-icdiff-0.0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for pytest-icdiff-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3f874e668d3c8e590e49a33748ebfd0449cc5537a4919e87f5c3260ac1713504
MD5 f50f1e19a492fc2314391129568cdaef
BLAKE2b-256 2660ee928cd4aab68307886499566de1dda5a4cd43a4298b49dfffc2ef373fb4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page