Mercurial > public > mercurial-scm > hg-stable
diff contrib/python3-whitelist @ 41481:1016b81fa43e
tests: conditionalize test-http-bad-server.t for Python 3.5
It appears that Python 3 introduced output buffering in the HTTP
response stack. And Python 3.6 switched from sock.makefile().write()
to sock.sendall().
So, we need to conditionalize test-http-bad-server.t to account
for the difference in behavior between Python 3.5 and 3.6.
Differential Revision: https://phab.mercurial-scm.org/D5754
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 12:55:44 -0800 |
parents | 30dd20a56f3e |
children | 9cb51e74e9ad |
line wrap: on
line diff