diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-12-26 09:45:58 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-12-26 09:45:58 (GMT) |
commit | 303eb478f27720f0e5b6b4147b05f9c15f7fd8f6 (patch) | |
tree | 3de2398332fa6420f00410c53fd302e2cd5a6edb | |
parent | b7c2386a3f6c69a5799eb3c8d0f6a877f8916d60 (diff) | |
download | cpython-303eb478f27720f0e5b6b4147b05f9c15f7fd8f6.zip cpython-303eb478f27720f0e5b6b4147b05f9c15f7fd8f6.tar.gz cpython-303eb478f27720f0e5b6b4147b05f9c15f7fd8f6.tar.bz2 |
Issue #16702: Skip proxies for localhost in urllib2_localnet tests
-rw-r--r-- | Lib/test/test_urllib2_localnet.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py index 9e1ce5b..f07471d 100644 --- a/Lib/test/test_urllib2_localnet.py +++ b/Lib/test/test_urllib2_localnet.py @@ -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): @@ -179,6 +179,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. |