Issue #16702: Skip proxies for localhost in urllib2_localnet tests
This commit is contained in:
commit
00679a7ee0
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue