From: Ben Darnell Date: Mon, 17 Feb 2020 21:22:54 +0000 (-0500) Subject: test: Add missing level to ExpectLog call X-Git-Tag: v6.1.0b1~9^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d7b4dda6a23f38774828348576abd347e650584;p=thirdparty%2Ftornado.git test: Add missing level to ExpectLog call --- diff --git a/tornado/test/simple_httpclient_test.py b/tornado/test/simple_httpclient_test.py index 18e096911..0f8880ee1 100644 --- a/tornado/test/simple_httpclient_test.py +++ b/tornado/test/simple_httpclient_test.py @@ -752,7 +752,7 @@ class MaxHeaderSizeTest(AsyncHTTPTestCase): self.assertEqual(response.body, b"ok") def test_large_headers(self): - with ExpectLog(gen_log, "Unsatisfiable read"): + with ExpectLog(gen_log, "Unsatisfiable read", level=logging.INFO): with self.assertRaises(UnsatisfiableReadError): self.fetch("/large", raise_error=True)