diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-06 07:59:59 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-06 07:59:59 -0500 |
commit | 703c2c5f4f8e995f2b956b749c7a01baa0ebe2fc (patch) | |
tree | e9b73d2e98299744b8b05ed1fef560a91826cf31 | |
parent | 4fd560ab4c979bf17a3592370162d107e6b3856d (diff) | |
download | cherrypy-703c2c5f4f8e995f2b956b749c7a01baa0ebe2fc.tar.gz |
Fix test failure on Python 3.5
-rw-r--r-- | cherrypy/test/test_conn.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cherrypy/test/test_conn.py b/cherrypy/test/test_conn.py index bf7e9cb6..f602a77b 100644 --- a/cherrypy/test/test_conn.py +++ b/cherrypy/test/test_conn.py @@ -757,6 +757,13 @@ for _ in ("ECONNRESET", "WSAECONNRESET"): if _ in dir(errno): socket_reset_errors.append(getattr(errno, _)) +socket_reset_errors += [ + # Python 3.5 raises an http.client.RemoteDisconnected + # with this message + "Remote end closed connection without response", +] + + class LimitedRequestQueueTests(helper.CPWebCase): setup_server = staticmethod(setup_upload_server) |