]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43961: Fix test_logging.test_namer_rotator_inheritance() (GH-25684) (GH-25688)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 28 Apr 2021 15:28:15 +0000 (08:28 -0700)
committerGitHub <noreply@github.com>
Wed, 28 Apr 2021 15:28:15 +0000 (17:28 +0200)
commit629ef0fb9cad6ac340d3be884af7b47fb393ae99
treee537763753224f8745949a8ae27e142f077f9aa4
parent2dc6b1789ec86dc80ea290fe33edd61140e47f6f
bpo-43961: Fix test_logging.test_namer_rotator_inheritance() (GH-25684) (GH-25688)

Fix test_logging.test_namer_rotator_inheritance() on Windows: use
os.replace() rather than os.rename().
(cherry picked from commit fe52eb62191e640e720d184a9a1a04e965b8a062)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_logging.py
Misc/NEWS.d/next/Tests/2021-04-28-13-21-52.bpo-43961.gNchls.rst [new file with mode: 0644]