diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-26 23:57:49 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-26 23:57:49 (GMT) |
| commit | 7fe81ce47ff6725e2e4d667d499e23dac19834af (patch) | |
| tree | c0f4b9c780b5d0edee15af13e9210f574da9dbfa /Python/pythonrun.c | |
| parent | 82654a037211a3466a294d53952926fc87f8403d (diff) | |
| download | cpython-7fe81ce47ff6725e2e4d667d499e23dac19834af.zip cpython-7fe81ce47ff6725e2e4d667d499e23dac19834af.tar.gz cpython-7fe81ce47ff6725e2e4d667d499e23dac19834af.tar.bz2 | |
bpo-37421: Fix test_shutil: don't leak temporary files (GH-14416)
* 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 4c26abd14f1b7242998eb2f7756aa375e0fe714f)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
