[New-bugs-announce] [issue16702] Force urllib2_localnet test not to use http proxies

Jeff Knupp report at bugs.python.org
Mon Dec 17 18:40:12 CET 2012


New submission from Jeff Knupp:

test_urllib2_localnet is concerned with testing connections only using 'localhost' or '127.0.0.1' hosts. If a user has the "http_proxy" environment variable set, these test will likely fail as the proxy won't have any idea where to send a request for 'localhost'.

Patch makes urllib.request.urlopen ignore proxies set in the environment. Note that this only works for http proxies. https proxies are trickier and require more work.

----------
components: Tests
files: test_proxy.patch
keywords: patch
messages: 177654
nosy: Jeff.Knupp
priority: normal
severity: normal
status: open
title: Force urllib2_localnet test not to use http proxies
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file28343/test_proxy.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16702>
_______________________________________


More information about the New-bugs-announce mailing list