Skip to content

Commit 1b88269

Browse files
bnikolicpicnixz
andauthored
Update Lib/test/test_shutil.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 3426f7b commit 1b88269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_shutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3395,7 +3395,7 @@ def syscall(*args, **kwargs):
33953395
side_effect=syscall) as m2:
33963396
shutil._USE_CP_SENDFILE = True
33973397
shutil.copyfile(TESTFN, TESTFN2)
3398-
assert m2.called
3398+
m2.assert_called()
33993399
shutil._USE_CP_SENDFILE = True
34003400
assert flag
34013401
self.assertEqual(read_file(TESTFN2, binary=True), self.FILEDATA)

0 commit comments

Comments
 (0)