◐ Shell
reader mode source ↗
Skip to content

[3.8] bpo-37421: Fix test_shutil: don't leak temporary files (GH-14416)#14417

Merged
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-4c26abd-3.8
Jun 26, 2019
Merged

[3.8] bpo-37421: Fix test_shutil: don't leak temporary files (GH-14416)#14417
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-4c26abd-3.8

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 26, 2019

Copy link
Copy Markdown
Contributor
  • 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

https://bugs.python.org/issue37421

* 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>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

LGTM, good bot.

@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 7fe81ce into python:3.8 Jun 26, 2019
@miss-islington miss-islington deleted the backport-4c26abd-3.8 branch June 26, 2019 23:57
@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants