New submission from Wenzhu Man: in test_urllib2.py file:
test_osx_proxy_bypass (test.test_urllib2.HandlerTests) # 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'): self.assertFalse(_proxy_bypass_macosx_sysconf(host, bypass), 'expected bypass of %s to be False' % host) for host 'test' under some wifi conditions(University of Waterloo wifi)the socket.gethostbyname('test') returns localhost which is in the exceptions. the assertion will fail. this testcase should be modified or we add some condition before the assertion ---------- components: Tests messages: 213633 nosy: Wenzhu.Man priority: normal severity: normal status: open title: bad test case in test_osx_proxy_bypass (test.test_urllib2.HandlerTests) versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20933> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com