Skip to content

[3.6] Stop test_xmlrpc from writing to sys.stderr (GH-3359)#3380

Merged
rhettinger merged 1 commit into
python:3.6from
miss-islington:backport-3463ee3-3.6
Sep 6, 2017
Merged

[3.6] Stop test_xmlrpc from writing to sys.stderr (GH-3359)#3380
rhettinger merged 1 commit into
python:3.6from
miss-islington:backport-3463ee3-3.6

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

One test case of test_xmlrpc uses HTTPServer with a subclass of
BaseHTTPRequestHandler. The BaseRequestHandler class logs to
sys.stderr by default. Override log_message() to not clobber
test output.

Signed-off-by: Christian Heimes christian@python.org
(cherry picked from commit 3463ee3)

One test case of test_xmlrpc uses HTTPServer with a subclass of
BaseHTTPRequestHandler. The BaseRequestHandler class logs to
sys.stderr by default. Override log_message() to not clobber
test output.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 3463ee3)
@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

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

@rhettinger rhettinger merged commit 3aea3c2 into python:3.6 Sep 6, 2017
@miss-islington miss-islington deleted the backport-3463ee3-3.6 branch September 12, 2017 02:56
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.

7 participants