summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-15 16:03:02 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-15 16:03:02 (GMT)
commitd3b3bba2ede328fa537022c7608332f4782395cd (patch)
tree1e726a555e12c6f4efa9492257fa98c9c684072e /Lib
parent1aca78da621f9818b69782cd559f1acae8ddd42a (diff)
parentfdbe918eb0c0b1c3b812ccdfa49c7bd7d44099b7 (diff)
downloadcpython-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.py3
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)