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):