1 --- httplib2-0.22.0/tests/test_proxy.py.orig
2 +++ httplib2-0.22.0/tests/test_proxy.py
5 from six.moves import urllib
10 def _raise_name_not_known_error(*args, **kwargs):
11 raise socket.gaierror(socket.EAI_NONAME, "Name or service not known")
13 # "See https://travis-ci.org/httplib2/httplib2/jobs/408769880.",
15 @mock.patch("socket.socket.connect", spec=True)
16 +@pytest.mark.skip(reason="always fails: https://github.com/httplib2/httplib2/issues/192")
17 def test_server_not_found_error_is_raised_for_invalid_hostname(mock_socket_connect):
18 """Invalidates https://github.com/httplib2/httplib2/pull/100."""
19 mock_socket_connect.side_effect = _raise_name_not_known_error
21 assert response.status == 200
24 +@pytest.mark.skip(reason="always fails: https://github.com/httplib2/httplib2/issues/170")
25 def test_socks5_auth():
26 def proxy_conn(client, tick):
27 data = client.recv(64)
28 --- httplib2-0.22.0/tests/test_other.py.orig
29 +++ httplib2-0.22.0/tests/test_other.py
31 assert response.reason.startswith("Request Timeout")
34 +@pytest.mark.skip(reason="always fails: https://github.com/httplib2/httplib2/issues/240")
35 def test_timeout_subsequent():
36 class Handler(object):