mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -463,8 +463,8 @@ class FileMoveSafeTests(unittest.TestCase):
|
||||
):
|
||||
with self.assertRaises(OSError):
|
||||
file_move_safe(self.file_a, self.file_b, allow_overwrite=True)
|
||||
# When copystat() throws PermissionError, copymode() error besides
|
||||
# PermissionError isn't ignored.
|
||||
# When copystat() throws PermissionError, copymode() error
|
||||
# besides PermissionError isn't ignored.
|
||||
with mock.patch(
|
||||
"django.core.files.move.copystat", side_effect=permission_error
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user