Issue #16702: Skip proxies for localhost in urllib2_localnet tests

This commit is contained in:
Senthil Kumaran 2012-12-26 01:46:39 -08:00
commit 00679a7ee0
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

@ -114,6 +114,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.