summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-26 23:39:53 (GMT)
committerGitHub <noreply@github.com>2019-06-26 23:39:53 (GMT)
commit4c26abd14f1b7242998eb2f7756aa375e0fe714f (patch)
tree225f25e2989c063f9a34119748120d1e803ce44c /Misc
parent06a8916cf465f139dca958685b0da899364b8a8c (diff)
downloadcpython-4c26abd14f1b7242998eb2f7756aa375e0fe714f.zip
cpython-4c26abd14f1b7242998eb2f7756aa375e0fe714f.tar.gz
cpython-4c26abd14f1b7242998eb2f7756aa375e0fe714f.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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2019-06-27-00-37-59.bpo-37421.rVJb3x.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2019-06-27-00-37-59.bpo-37421.rVJb3x.rst b/Misc/NEWS.d/next/Tests/2019-06-27-00-37-59.bpo-37421.rVJb3x.rst
new file mode 100644
index 0000000..9f40338
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2019-06-27-00-37-59.bpo-37421.rVJb3x.rst
@@ -0,0 +1 @@
+Fix test_shutil to no longer leak temporary files.