]> granicus.if.org Git - python/commit
Stop test_xmlrpc from writing to sys.stderr (#3359)
authorChristian Heimes <christian@python.org>
Wed, 6 Sep 2017 04:43:46 +0000 (21:43 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Sep 2017 04:43:46 +0000 (21:43 -0700)
commit3463ee3972e0d14351ee18bce60ecfbf7ac96772
tree3ba94e456b8fec31b964ec05ec724bd14bee2b84
parent05351c1bd8b70d1878527762174cdaaba3572395
Stop test_xmlrpc from writing to sys.stderr (#3359)

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>
Lib/test/test_xmlrpc.py