Skip to content

Commit 89edc53

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bb7ce38 commit 89edc53

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/_pytest/assertion/util.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,7 @@ def _compare_eq_dict(
531531
)
532532
explanation.extend(
533533
highlighter(
534-
pprint.pformat(
535-
{k: left[k] for k in left if k in extra_left}
536-
)
534+
pprint.pformat({k: left[k] for k in left if k in extra_left})
537535
).splitlines()
538536
)
539537
extra_right = set_right - set_left
@@ -544,9 +542,7 @@ def _compare_eq_dict(
544542
)
545543
explanation.extend(
546544
highlighter(
547-
pprint.pformat(
548-
{k: right[k] for k in right if k in extra_right}
549-
)
545+
pprint.pformat({k: right[k] for k in right if k in extra_right})
550546
).splitlines()
551547
)
552548
return explanation

0 commit comments

Comments
 (0)