diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index df7fbedf24a7c2..df4dad77a5097b 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -339,8 +339,8 @@ def check_args_to_onerror(self, func, arg, exc): # on a directory that is chmod 500, which will fail. # This function is run when shutil.rmtree fails. # 99.9% of the time it initially fails to remove - # a file in the directory, so the first time through - # func is os.remove. + # the file or directory in the directory, so func + # is os.unlink or os.rmdir. # However, some Linux machines running ZFS on # FUSE experienced a failure earlier in the process # at os.listdir. The first failure may legally