freshcrate
Skin:/
Home > Frameworks > pytest-icdiff

pytest-icdiff

use icdiff for better error messages in pytest assertions

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

============= pytest-icdiff ============= .. image:: https://img.shields.io/pypi/v/pytest-icdiff.svg :target: https://pypi.org/project/pytest-icdiff :alt: PyPI version .. image:: https://img.shields.io/conda/vn/conda-forge/pytest-icdiff.svg :target: https://anaconda.org/conda-forge/pytest-icdiff :alt: conda-forge version .. image:: https://img.shields.io/pypi/pyversions/pytest-icdiff.svg :target: https://pypi.org/project/pytest-icdiff :alt: Python versions 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 ==`` : .. image:: https://raw.githubusercontent.com/hjwp/pytest-icdiff/main/example_output.png?raw=true :alt: example colourised diff Issues and PRs welcome. Thanks to the maintainers of `ICDiff`_ and also `pprintpp`_ ! 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. .. _`Cookiecutter`: https://github.com/audreyr/cookiecutter .. _`@hackebrot`: https://github.com/hackebrot .. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin .. _`pytest`: https://github.com/pytest-dev/pytest .. _`Unlicense`: http://unlicense.org .. _`icdiff`: https://www.jefftk.com/icdiff .. _`pprintpp`: https://github.com/wolever/pprintpp History ------- 0.3 (2020-01-28) ~~~~~~~~~~~~~~~~ * Disable colorization in sync with Pytest (`PR #12 <https://github.com/hjwp/pytest-icdiff/pull/12>`__). * Synchronize license in `setup.py` with LICENSE file (`PR #11 <https://github.com/hjwp/pytest-icdiff/pull/11>`__). * Show expression drill down small numbers (`Issue #5 <https://github.com/hjwp/pytest-icdiff/issues/5>`__). * Test with Python 3.8 (`PR #15 <https://github.com/hjwp/pytest-icdiff/issues/15>`__). 0.2 (2019-03-28) ~~~~~~~~~~~~~~~~ * Obey terminal width. 0.0.4 (2018-08-26) ~~~~~~~~~~~~~~~~~~ * Fix for short expressions (`Issue #6 <https://github.com/hjwp/pytest-icdiff/issues/6>`__). 0.0.3 (2018-08-10) ~~~~~~~~~~~~~~~~~~ * Add Conda Forge installation and badge (`PR #2 <https://github.com/hjwp/pytest-icdiff/pull/2>`__). * Fix PyPI License classifier (`Issue #3 <https://github.com/hjwp/pytest-icdiff/issues/3>`__). * Fix colorization when both sides contain differences (`Issue #4 <https://github.com/hjwp/pytest-icdiff/issues/4>`__). 0.0.2 (2018-08-08) ~~~~~~~~~~~~~~~~~~ * Fix Travis link in README. 0.0.1 (2018-08-08) ~~~~~~~~~~~~~~~~~~ * First release on PyPI.

Release History

VersionChangesUrgencyDate
0.9Imported from PyPI (0.9)Low4/21/2026
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
main@2024-09-04Latest activity on main branchLow9/4/2024
0.5Tag 0.5Low4/8/2020
0.4Tag 0.4Low4/8/2020
0.3Tag 0.3Low1/28/2020
0.2Tag 0.2Low3/28/2019

Dependencies & License Audit

Loading dependencies...

Similar Packages

tqdmFast, Extensible Progress Meterv4.68.1
inspect-aiFramework for large language model evaluationsmain@2026-06-05
hypothesisThe property-based testing library for Pythonv6.155.2
bleachAn easy safelist-based HTML-sanitizing tool.main@2026-06-05
jupyter-clientJupyter protocol implementation and client librariesv8.9.0

More in Frameworks

langchainThe agent engineering platform
deer-flowAn open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of ta
tqdmFast, Extensible Progress Meter
simBuild, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce.