Skip to content

Commit 1513ea3

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

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
@@ -3390,7 +3390,7 @@ def syscall(*args, **kwargs):
33903390
self.zerocopy_fun(src, dst)
33913391

33923392
# Reset flag so that second syscall fails again
3393-
flag = []
3393+
flag.clear()
33943394
with unittest.mock.patch(self.PATCHPOINT, create=True,
33953395
side_effect=syscall) as m2:
33963396
shutil._USE_CP_SENDFILE = True

0 commit comments

Comments
 (0)