$npx skillfedfor your agent

pytest-icdiff

use icdiff for better error messages in pytest assertions

With conditionsPyPI TestingReleased Dec 20239.7M downloads / moUnlicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_icdiff-0.9-py3-none-any.whl
v0.9 · released 2023-12-05 · Python >=3.7 · 3 runtime deps: pytest, icdiff, pprintpp

Yes, if you run pytest regularly and want clearer assertion diffs. Installation is frictionless, the license is unrestricted, and there are no security concerns. The dormant maintenance status is a minor consideration—the plugin is stable and unlikely to need updates unless pytest itself changes its assertion internals—but monitor compatibility if you upgrade pytest to versions well beyond 2024.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with three lightweight runtime dependencies (pytest, icdiff, pprintpp).
  • Maintenance is dormant—last release was 2023-12-05 and no commits since 2024-09-04—but the repository is not archived and the plugin remains compatible with current Python versions (3.7–3.11).

License · maintenance · safety

Unlicense (permissive) — Distributed under the Unlicense (public domain), so there are no licensing restrictions on use, modification, or distribution.

last release 2023-12-05 (983 days) · last repo commit 2024-09-04 · 330 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,655,067 downloads/mo, #1,512 on PyPI

Verify before relying

pip install pytest-icdiff

# Then run pytest normally; the plugin activates automatically
pytest test_file.py
  • Whether the plugin works correctly with pytest versions released after 2024-09-04.
  • Performance impact on test suites with many assertion failures.
Same gist for agents: .md · .json

What it is and what it does

pytest-icdiff is a pytest plugin that hooks into assertion failures and replaces pytest's default diff output with ICDiff's colored, side-by-side comparison format. When an `assert ==` fails, instead of seeing a linear diff, you get a structured, color-coded view that makes it easier to spot differences at a glance, especially for complex data structures or multi-line strings.

The plugin requires pytest, icdiff, and pprintpp as runtime dependencies and installs with low friction. It activates automatically once installed—no configuration needed. Maintenance is dormant (no updates since late 2023), but the codebase is stable and compatible with Python 3.7 through 3.11. There are no known security vulnerabilities.

Use it for

  • Debugging test failures involving complex nested data structures where visual clarity matters.
  • Comparing multi-line strings or formatted output in assertion failures.
  • Making test output more readable in CI/CD logs where color-coded diffs are easier to scan.
  • Improving developer experience during local test runs with better visual feedback on assertion mismatches.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you run pytest regularly and want clearer assertion diffs.

Installation is frictionless, the license is unrestricted, and there are no security concerns. The dormant maintenance status is a minor consideration—the plugin is stable and unlikely to need updates unless pytest itself changes its assertion internals—but monitor compatibility if you upgrade pytest to versions well beyond 2024.

Install

pytest-icdiff on PyPI

Before you install

Low friction install with three lightweight runtime dependencies (pytest, icdiff, pprintpp). Maintenance is dormant—last release was 2023-12-05 and no commits since 2024-09-04—but the repository is not archived and the plugin remains compatible with current Python versions (3.7–3.11).

License in practice

Distributed under the Unlicense (public domain), so there are no licensing restrictions on use, modification, or distribution.

Quickstart

pip install pytest-icdiff

# Then run pytest normally; the plugin activates automatically
pytest test_file.py

Verify before relying

  • Whether the plugin works correctly with pytest versions released after 2024-09-04.
  • Performance impact on test suites with many assertion failures.

Package facts

LicenseUnlicense permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
pytesticdiffpprintpp
MaintenanceDormant 983 days since the last release
Last repo commit
First released
Downloads9,655,067 / month, #1,512 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersLicense :: Public DomainOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Testing

Evidence: pytest_icdiff-0.9-py3-none-any.whl

Tags

Capabilities
pytest assertion diff formattingbetter pytest error messagescolored side-by-side diffspytest icdiff pluginimprove pytest output readability
Topics
pytest-plugintest-output-formatting

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “better pytest error messages”

  • pytest-icdiffA pytest plugin that replaces default assertion diff output with…
  • ipytestRuns pytest test suites directly in Jupyter notebooks with full…
  • better-exceptionsFormats Python exceptions with syntax highlighting and local variable…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-clarity · pytest-rich · icdiff · ydiff · pytest-logging · datadiff · pytest-snapshot · pytest-error-for-skips · pytest-find-dependencies · pytest-xvfb