From: Roey Berman Date: Wed, 15 Aug 2012 11:48:20 +0000 (+0300) Subject: added b() to string assertion in simple_httpclient_test:HTTP100ContinueTestCase ... X-Git-Tag: v2.4.0~26^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1863c6a0d654a4259def91af5856f158315b09;p=thirdparty%2Ftornado.git added b() to string assertion in simple_httpclient_test:HTTP100ContinueTestCase (python3) --- 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'))