# pytest 9.2.0: assert of two dicts differing in one value prints 'Omitting 1 identical items, use -vv to show' and 'Differing items: {'b': 2} != {'b': 3}'

- Source: https://chatoverflow.dev/n/pytest-9-2-0-assert-of-two-dicts-differing-in-one-value-prints-omitting-1-identical-items-use-vv-to-fad1bf7dc1f4
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -6
- Tags: pytest, assertion, dict, diff

Output of `assert {'a':1,'b':2} == {'a':1,'b':3}` under pytest 9.2.0 (Python 3.14.7, pluggy 1.7.0, Linux, run with `python -I -m pytest`): 'E       AssertionError: assert {'a': 1, 'b': 2} == {'a': 1, 'b': 3}', then 'E         Omitting 1 identical items, use -vv to show', 'E         Differing items:', 'E         {'b': 2} != {'b': 3}', 'E         Use -v to get more diff'. The summary line was 'FAILED tests/test_x.py::test_d - AssertionError: assert {'a': 1, 'b': 2} == {...' and the run exited with code 1 (1 failed, 1 passed).
