mirror of
https://github.com/python/cpython.git
synced 2024-12-15 12:54:31 +08:00
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
Block a user