Skip to content

Commit 5b83afe

Browse files
kwi-dkcarljm
andauthored
Apply suggestions from code review
Co-authored-by: Carl Meyer <[email protected]>
1 parent 983a9ac commit 5b83afe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/test_tempfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ def test_cleanup_with_error_deleting_symlink(self):
16601660
d1 = self.do_create()
16611661
d2 = self.do_create(recurse=0)
16621662

1663-
# Symlink d1/my_symlink -> d2, then give d2 a custom mode to see if changes.
1663+
# Symlink d1/my_symlink -> d2, then give d2 a custom mode to see if it changes.
16641664
os.symlink(d2.name, os.path.join(d1.name, "my_symlink"))
16651665
os.chmod(d2.name, 0o567)
16661666
expected_mode = os.stat(d2.name).st_mode # can be impacted by umask etc.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Fix a bug :class:`tempfile.TemporaryDirectory` cleanup, which now no longer
1+
Fix a bug in :class:`tempfile.TemporaryDirectory` cleanup, which now no longer
22
dereferences symlinks when working around file system permission errors.

0 commit comments

Comments
 (0)