Skip to content

bpo-31132: Remove prlimit permission test.#9280

Merged
miss-islington merged 1 commit into
masterfrom
benjamin-prlimit-permission-test
Sep 13, 2018
Merged

bpo-31132: Remove prlimit permission test.#9280
miss-islington merged 1 commit into
masterfrom
benjamin-prlimit-permission-test

Conversation

@benjaminp

@benjaminp benjaminp commented Sep 13, 2018

Copy link
Copy Markdown
Contributor

This test is doesn't work when the test process is privledged, which is hard to detect.

https://bugs.python.org/issue34668

This test is doesn't work when the test process is privledged, which is hard to detect.
@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting merge labels Sep 13, 2018
@benjaminp benjaminp changed the title closes bpo-34668: Remove prlimit permission test. closes bpo-31132: Remove prlimit permission test. Sep 13, 2018
@encukou encukou self-requested a review September 13, 2018 21:18
@encukou encukou changed the title closes bpo-31132: Remove prlimit permission test. bpo-31132: Remove prlimit permission test. Sep 13, 2018
@benjaminp benjaminp closed this Sep 13, 2018
@benjaminp benjaminp reopened this Sep 13, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

@benjaminp: Status check is done, and it's a failure ❌ .

@encukou encukou 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.

I agree that this test doesn't add much value, and actually detecting that we don't have rights.
The code was written by Christian; he says he doesn't care much.

@vstinner vstinner 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. Python doesn't have to test the operating system.

@miss-islington

Copy link
Copy Markdown
Contributor

@benjaminp: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 01e0afa into master Sep 13, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @benjaminp for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 13, 2018
This test is doesn't work when the test process is privledged, which is hard to detect.

https://bugs.python.org/issue34668
(cherry picked from commit 01e0afa)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-9283 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 13, 2018
This test is doesn't work when the test process is privledged, which is hard to detect.

https://bugs.python.org/issue34668
(cherry picked from commit 01e0afa)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-9284 is a backport of this pull request to the 3.6 branch.

@encukou encukou deleted the benjamin-prlimit-permission-test branch September 13, 2018 21:53
miss-islington added a commit that referenced this pull request Sep 13, 2018
This test is doesn't work when the test process is privledged, which is hard to detect.

https://bugs.python.org/issue34668
(cherry picked from commit 01e0afa)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
miss-islington added a commit that referenced this pull request Sep 13, 2018
This test is doesn't work when the test process is privledged, which is hard to detect.

https://bugs.python.org/issue34668
(cherry picked from commit 01e0afa)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
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.

6 participants