use icdiff for better error messages in pytest assertions
Project description
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 == :
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
Release history Release notifications | RSS feed
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.4.tar.gz
(3.2 kB
view details)
File details
Details for the file pytest-icdiff-0.0.4.tar.gz.
File metadata
- Download URL: pytest-icdiff-0.0.4.tar.gz
- Upload date:
- Size: 3.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da1ec7fa464159f204d8f71739400c6a4cd43418c32afedc93f5382b310f9582
|
|
| MD5 |
facb37872048858d8cd2fed8ba88d1bd
|
|
| BLAKE2b-256 |
07fb7e6e5d36b377cd98e11e000f3fc5f03c3cc8468fa79ace11d35f4cc8c009
|