Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3416769 + 303eb47 commit 00679a7Copy full SHA for 00679a7
2 files changed
Lib/test/test_urllib2_localnet.py
@@ -352,6 +352,8 @@ class TestUrlopen(unittest.TestCase):
352
353
def setUp(self):
354
super(TestUrlopen, self).setUp()
355
+ # Ignore proxies for localhost tests.
356
+ os.environ['NO_PROXY'] = '*'
357
self.server = None
358
359
def tearDown(self):
Misc/NEWS
@@ -114,6 +114,9 @@ Core and Builtins
114
Library
115
-------
116
117
+- Issue #16702: test_urllib2_localnet tests now correctly ignores proxies for
118
+ localhost tests.
119
+
120
- Issue #16511: Use default IDLE width and height if config param is not valid.
121
Patch Serhiy Storchaka.
122
0 commit comments