summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-28 13:47:10 (GMT)
committerGitHub <noreply@github.com>2021-04-28 13:47:10 (GMT)
commitfe52eb62191e640e720d184a9a1a04e965b8a062 (patch)
treebbfe56fcdd433643e4b3e4dcda419abdf36e9682 /Misc
parent32c5a174445ec93747240cd8472012276ed27acf (diff)
downloadcpython-fe52eb62191e640e720d184a9a1a04e965b8a062.zip
cpython-fe52eb62191e640e720d184a9a1a04e965b8a062.tar.gz
cpython-fe52eb62191e640e720d184a9a1a04e965b8a062.tar.bz2
bpo-43961: Fix test_logging.test_namer_rotator_inheritance() (GH-25684)
Fix test_logging.test_namer_rotator_inheritance() on Windows: use os.replace() rather than os.rename().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2021-04-28-13-21-52.bpo-43961.gNchls.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2021-04-28-13-21-52.bpo-43961.gNchls.rst b/Misc/NEWS.d/next/Tests/2021-04-28-13-21-52.bpo-43961.gNchls.rst
new file mode 100644
index 0000000..e56572f
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2021-04-28-13-21-52.bpo-43961.gNchls.rst
@@ -0,0 +1,2 @@
+Fix test_logging.test_namer_rotator_inheritance() on Windows: use
+:func:`os.replace` rather than :func:`os.rename`. Patch by Victor Stinner.