From 0e1863c6a0d654a4259def91af5856f158315b09 Mon Sep 17 00:00:00 2001 From: Roey Berman Date: Wed, 15 Aug 2012 14:48:20 +0300 Subject: [PATCH] added b() to string assertion in simple_httpclient_test:HTTP100ContinueTestCase (python3) --- 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 74059917d..72dcdd163 100644 --- a/tornado/test/simple_httpclient_test.py +++ b/tornado/test/simple_httpclient_test.py @@ -338,4 +338,4 @@ class HTTP100ContinueTestCase(AsyncTestCase, LogTrapTestCase): client = SimpleAsyncHTTPClient(io_loop = self.io_loop) client.fetch('http://localhost:%d/' % port, self.stop) res = self.wait() - self.assertEqual(res.body, 'A') + self.assertEqual(res.body, b('A')) -- 2.47.2