From 7d7b4dda6a23f38774828348576abd347e650584 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Mon, 17 Feb 2020 16:22:54 -0500 Subject: [PATCH] test: Add missing level to ExpectLog call --- tornado/test/simple_httpclient_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2