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.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pytest-icdiff-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 81a37ad061d598bbfd1cb8cd0a012a6ddb63aba59d50152c0ac76e98df51ce67
MD5 f119e623faab374d4d3e939685acb0e5
BLAKE2b-256 fa210f618973bcea54ab3bba340332f008e12c2d125acb5f5e3a69ead9a7720f

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