diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-03-15 16:03:02 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-03-15 16:03:02 (GMT) |
commit | d3b3bba2ede328fa537022c7608332f4782395cd (patch) | |
tree | 1e726a555e12c6f4efa9492257fa98c9c684072e /Lib | |
parent | 1aca78da621f9818b69782cd559f1acae8ddd42a (diff) | |
parent | fdbe918eb0c0b1c3b812ccdfa49c7bd7d44099b7 (diff) | |
download | cpython-d3b3bba2ede328fa537022c7608332f4782395cd.zip cpython-d3b3bba2ede328fa537022c7608332f4782395cd.tar.gz cpython-d3b3bba2ede328fa537022c7608332f4782395cd.tar.bz2 |
Merge: #20933: At least one place maps 'test' to 'localhost'...fix test.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_urllib2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index b32b409..4b92d63 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1227,7 +1227,8 @@ class HandlerTests(unittest.TestCase): self.assertTrue(_proxy_bypass_macosx_sysconf(host, bypass), 'expected bypass of %s to be True' % host) # Check hosts that should not trigger the proxy bypass - for host in ('abc.foo.bar', 'bar.com', '127.0.0.2', '10.11.0.1', 'test'): + for host in ('abc.foo.bar', 'bar.com', '127.0.0.2', '10.11.0.1', + 'notinbypass'): self.assertFalse(_proxy_bypass_macosx_sysconf(host, bypass), 'expected bypass of %s to be False' % host) |