bpo-43961: Fix test_logging.test_namer_rotator_inheritance() by vstinner · Pull Request #25684 · python/cpython · GitHub
Skip to content

bpo-43961: Fix test_logging.test_namer_rotator_inheritance() - #25684

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:test_logging_replace
Apr 28, 2021
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:test_logging_replace

Conversation

@vstinner

@vstinner vstinner commented Apr 28, 2021

Copy link
Copy Markdown
Member

Fix test_logging.test_namer_rotator_inheritance() on Windows: use
os.replace() rather than os.rename().

https://bugs.python.org/issue43961

Fix test_logging.test_namer_rotator_inheritance() on Windows: use
os.replace() rather than os.rename().
@vstinner

Copy link
Copy Markdown
Member Author

@vstinner

Copy link
Copy Markdown
Member Author

On Windows x64, test_multiprocessing_timeout() of test_regrtest fails with a timeout (20 min).

Tests result: FAILURE then SUCCESS
Error: Process completed with exit code 1.

Not sure why it returned exit code 1 even if it's a success, but I re-run all jobs.

@vstinner
vstinner merged commit fe52eb6 into python:master Apr 28, 2021
@vstinner
vstinner deleted the test_logging_replace branch April 28, 2021 13:47
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 28, 2021
…H-25684)

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

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

vstinner added a commit that referenced this pull request Apr 28, 2021
… (GH-25688)

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

Co-authored-by: Victor Stinner <vstinner@python.org>

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants