use icdiff for better error messages in pytest assertions
Project Links
Meta
Author: Harry Percival
Maintainer: Harry Percival
Requires Python: >=3.7
Classifiers
Development Status
- 4 - Beta
Framework
- Pytest
Intended Audience
- Developers
Topic
- Software Development :: Testing
Programming Language
- Python
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
Operating System
- OS Independent
License
- Public Domain
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.
History
0.3 (2020-01-28)
0.2 (2019-03-28)
Obey terminal width.
0.0.4 (2018-08-26)
Fix for short expressions (Issue #6).
0.0.3 (2018-08-10)
0.0.2 (2018-08-08)
Fix Travis link in README.
0.0.1 (2018-08-08)
First release on PyPI.
0.9
Dec 05, 2023
0.8
Sep 20, 2023
0.7
Sep 04, 2023
0.6
Aug 09, 2022
0.5
Apr 08, 2020
0.4
Apr 08, 2020
0.3
Jan 28, 2020
0.2
Mar 28, 2019
0.0.4
Aug 26, 2018
0.0.3
Aug 10, 2018
0.0.2
Aug 08, 2018
0.0.1
Aug 08, 2018