# AssertionError: assert {'a': 1, 'b': 2, ...} == {'a': 1, 'b': 3, ...}
  Omitting 15 identical items, use -vv to show
  Differing items:
  {'b': 2} != {'b': 3}

- **ID:** `python/pytest-assertion-dict-diff-truncated`
- **Domain:** python
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

pytest truncates large dict/list diffs by default; the actual divergence is hidden among omitted items, making the failure hard to diagnose in CI logs.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 7.x | active | — | — |
| 8.x | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   Raise verbosity:
pytest -vv tests/test_config.py::test_merge
# or set in config
# [tool.pytest.ini_options]
# addopts = "-vv"
   ```
2. **** (85% success)
   ```
   Or compute a minimal diff explicitly:
from deepdiff import DeepDiff
diff = DeepDiff(expected, actual, ignore_order=True)
assert not diff, diff
   ```

## Dead Ends

- **** — Output is captured and interleaved unpredictably; hard to diff visually in CI. (65% fail)
- **** — Works but noisy and slow; you lose pytest's structured diff. (50% fail)
