[New-bugs-announce] [issue20695] test_urllibnet.urlretrieveNetworkTests fails due to new python.org website

Eric Naeseth 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.

----------
components: Tests
files: python-3.3.4-urllibnet-failure.txt
messages: 211679
nosy: ericnaeseth
priority: normal
severity: normal
status: open
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>
<http://bugs.python.org/issue20695>
_______________________________________


More information about the New-bugs-announce mailing list