Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2022
Merged

Conversation

JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented Mar 18, 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.

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.
Copy link
Member

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

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

LGTM.

@orsenthil
Copy link
Member

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

@JelleZijlstra
Copy link
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