mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #16702: Skip proxies for localhost in urllib2_localnet tests
This commit is contained in:
commit
2bf61abe02
2 changed files with 5 additions and 0 deletions
|
@ -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):
|
||||
|
|
|
@ -186,6 +186,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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue