diff --git a/src/calibre/srv/tests/http.py b/src/calibre/srv/tests/http.py index f547221a7b..a2f0371f66 100644 --- a/src/calibre/srv/tests/http.py +++ b/src/calibre/srv/tests/http.py @@ -296,7 +296,7 @@ class TestHTTP(BaseTest): # Test timeout server.loop.opts.timeout = 0.1 - conn = server.connect() + conn = server.connect(timeout=1) conn.request('GET', '/something') r = conn.getresponse() self.ae(r.status, 200), self.ae(r.read(), 'something')