Skip to content

[3.9] bpo-42782: fix broken shutil test#31971

Merged
orsenthil merged 1 commit into
python:3.9from
JelleZijlstra:oshelper
Mar 18, 2022
Merged

[3.9] bpo-42782: fix broken shutil test#31971
orsenthil merged 1 commit into
python:3.9from
JelleZijlstra:oshelper

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented Mar 18, 2022

Copy link
Copy Markdown
Member

We were using os_helper, which doesn't exist on 3.9. This wasn't
caught because the test is only run as root. I confirmed that when
run as root, the test previously failed and now passes.

https://bugs.python.org/issue42782

We were using os_helper, which doesn't exist on 3.9. This wasn't
caught because the test is only run as root. I confirmed that when
run as root, the test previously failed and now passes.

@orsenthil orsenthil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@orsenthil

Copy link
Copy Markdown
Member

Thank you, @JelleZijlstra. If this needs to be ported to other versions, please port them (with labels).

@JelleZijlstra

Copy link
Copy Markdown
Member Author

Thanks @orsenthil! The only other affected branch is 3.8, but I don't think this is worth fixing in a security fix-only branch.

@JelleZijlstra JelleZijlstra deleted the oshelper branch March 18, 2022 03:23
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
We were using os_helper, which doesn't exist on 3.9. This wasn't
caught because the test is only run as root. I confirmed that when
run as root, the test previously failed and now passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants