<p>直接上代码</p>
讯享网
self =
E:Panda_testvenvlibsite-packagesb3connection.py:160:
Convenience function. Connect to address (a 2-tuple ) and return the socket object. Passing the optional
timeout parameter will set the timeout on the socket instance
before attempting to connect. If no timeout is supplied, the
global default timeout setting returned by :func:
is used. If source_address is set it must be a tuple of (host, port)
for the socket to bind as a source address before making the connection.
An host of '' or port 0 tells the OS to use the default.
"""
if err is not None:
raise err
E:Panda_testvenvlibsite-packagesb3յconnection.py:84:
Convenience function. Connect to address (a 2-tuple ) and return the socket object. Passing the optional
timeout parameter will set the timeout on the socket instance
before attempting to connect. If no timeout is supplied, the
global default timeout setting returned by :func:
is used. If source_address is set it must be a tuple of (host, port)
for the socket to bind as a source address before making the connection.
An host of '' or port 0 tells the OS to use the default.
"""
E:Panda_testvenvlibsite-packagesb3յconnection.py:74: ConnectionRefusedError
During handling of the above exception, another exception occurred:
.. note::
.. note::
:type retries: :class:, False, or an int.
conn = None
conn.timeout = timeout_obj.connect_timeout
E:Panda_testvenvlibsite-packagesb3connectionpool.py:677:
conn.request(method, url, httplib_request_kw)
E:Panda_testvenvlibsite-packagesb3connectionpool.py:392:
self._send_request(method, url, body, headers, encode_chunked)
C:UsersAdministratorAppDataLocalProgramsPythonPython37libhttpclient.py:1229:
self.putrequest(method, url, skips)
self.endheaders(body, encode_chunked=encode_chunked)
C:UsersAdministratorAppDataLocalProgramsPythonPython37libhttpclient.py:1275:
self._send_output(message_body, encode_chunked=encode_chunked)
C:UsersAdministratorAppDataLocalProgramsPythonPython37libhttpclient.py:1224:
self.send(msg)
C:UsersAdministratorAppDataLocalProgramsPythonPython37libhttpclient.py:1016:
self.connect()
C:UsersAdministratorAppDataLocalProgramsPythonPython37libhttpclient.py:956:
self =
def connect(self):
conn = self._new_conn()
E:Panda_testvenvlibsite-packagesb3connection.py:187:
self =
E:Panda_testvenvlibsite-packagesb3connection.py:172: NewConnectionError
During handling of the above exception, another exception occurred:
self =
def test_2(self):
self.driver.get('https://www.baidu.com')
cases登录模块 est_登录.py:32:
if new_retry.is_exhausted():
Process finished with exit code 0

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/140516.html