We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7ce38 commit 89edc53Copy full SHA for 89edc53
src/_pytest/assertion/util.py
@@ -531,9 +531,7 @@ def _compare_eq_dict(
531
)
532
explanation.extend(
533
highlighter(
534
- pprint.pformat(
535
- {k: left[k] for k in left if k in extra_left}
536
- )
+ pprint.pformat({k: left[k] for k in left if k in extra_left})
537
).splitlines()
538
539
extra_right = set_right - set_left
@@ -544,9 +542,7 @@ def _compare_eq_dict(
544
542
545
543
546
547
548
- {k: right[k] for k in right if k in extra_right}
549
+ pprint.pformat({k: right[k] for k in right if k in extra_right})
550
551
552
return explanation
0 commit comments