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 <rep...@bugs.python.org> <http://bugs.python.org/issue16702> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com