Skip to content

bpo-31178: Mock os.waitpid() in test_subprocess#3896

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:subprocess_errpipe
Oct 5, 2017
Merged

bpo-31178: Mock os.waitpid() in test_subprocess#3896
vstinner merged 1 commit into
python:masterfrom
vstinner:subprocess_errpipe

Conversation

@vstinner

@vstinner vstinner commented Oct 5, 2017

Copy link
Copy Markdown
Member

Fix test_exception_errpipe_bad_data() and
test_exception_errpipe_normal() of test_subprocess: mock os.waitpid()
to avoid calling the real os.waitpid(0, 0) which is an unexpected
side effect of the test.

https://bugs.python.org/issue31178

Fix test_exception_errpipe_bad_data() and
test_exception_errpipe_normal() of test_subprocess: mock os.waitpid()
to avoid calling the real os.waitpid(0, 0) which is an unexpected
side effect of the test.
@miss-islington

Copy link
Copy Markdown
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 5, 2017
Fix test_exception_errpipe_bad_data() and
test_exception_errpipe_normal() of test_subprocess: mock os.waitpid()
to avoid calling the real os.waitpid(0, 0) which is an unexpected
side effect of the test.
(cherry picked from commit 11045c9)
@bedevere-bot

Copy link
Copy Markdown

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

vstinner pushed a commit that referenced this pull request Oct 5, 2017
Fix test_exception_errpipe_bad_data() and
test_exception_errpipe_normal() of test_subprocess: mock os.waitpid()
to avoid calling the real os.waitpid(0, 0) which is an unexpected
side effect of the test.
(cherry picked from commit 11045c9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants