[3.8] bpo-37421: Fix test_shutil: don't leak temporary files (GH-14416) by miss-islington · Pull Request #14417 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Conversation
- Fix typo in supports_file2file_sendfile(); ensure that dst is
removed - Fix test_copytree_custom_copy_function(): remove dst tree.
Use support.rmtree() rather than shutil.rmtree() to remove
temporary directories: support tries harder.
(cherry picked from commit 4c26abd)
Co-authored-by: Victor Stinner vstinner@redhat.com
* Fix typo in supports_file2file_sendfile(); ensure that dst is removed * Fix test_copytree_custom_copy_function(): remove dst tree. Use support.rmtree() rather than shutil.rmtree() to remove temporary directories: support tries harder. (cherry picked from commit 4c26abd) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, good bot.
@vstinner: Status check is done, and it's a success ✅ .
@vstinner: Status check is done, and it's a success ✅ .
1 similar comment
@vstinner: Status check is done, and it's a success ✅ .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters