[New-bugs-announce] [issue20695] test_urllibnet.urlretrieveNetworkTests fails due to new python.org website
report at bugs.python.org
Thu Feb 20 01:58:41 CET 2014
New submission from Eric Naeseth:
The www.python.org website was just redesigned, and apparently is running on some new infrastructure which always responds to `GET /` requests with a body using `Content-Encoding: gzip`.
Python's test suite includes some tests which fetch http://www.python.org/, and some of the tests in `test.test_urllibnet.urlretrieveNetworkTests` are now failing, because they expect the server to return un-gzip'd UTF-8 text. :(
The full test output (from Python 3.3.4) is attached.
title: test_urllibnet.urlretrieveNetworkTests fails due to new python.org website
type: compile error
versions: Python 3.3
Added file: http://bugs.python.org/file34150/python-3.3.4-urllibnet-failure.txt
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce