Issue #16702: Skip proxies for localhost in urllib2_localnet tests

This commit is contained in:
Senthil Kumaran 2012-12-26 01:45:58 -08:00
parent b7c2386a3f
commit 303eb478f2
2 changed files with 5 additions and 0 deletions

View File

@ -352,6 +352,8 @@ class TestUrlopen(unittest.TestCase):
def setUp(self):
super(TestUrlopen, self).setUp()
# Ignore proxies for localhost tests.
os.environ['NO_PROXY'] = '*'
self.server = None
def tearDown(self):

View File

@ -179,6 +179,9 @@ Core and Builtins
Library
-------
- Issue #16702: test_urllib2_localnet tests now correctly ignores proxies for
localhost tests.
- Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.