Skip to content

Commit 55a87b8

Browse files
Bolotnyjpicnixz
andauthored
Apply suggestion from @picnixz
corrected to comply with PEP 8 Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent fac6025 commit 55a87b8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎Lib/test/test_filecmp.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,10 @@ def fake_private_cmp(a, b, sh):
518518
return 2
519519
return original_cmp(a, b, sh)
520520

521-
with patch("os.stat", side_effect=fake_stat_for_report), \
522-
patch("filecmp._cmp", side_effect=fake_private_cmp):
521+
with (
522+
patch("os.stat", side_effect=fake_stat_for_report),
523+
patch("filecmp._cmp", side_effect=fake_private_cmp),
524+
):
523525

524526
dc = filecmp.dircmp(self.dir, self.dir_same)
525527
_ = dc.subdirs

0 commit comments

Comments
 (0)