]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
added b() to string assertion in simple_httpclient_test:HTTP100ContinueTestCase ... 575/head
authorRoey Berman <roey.berman@gmail.com>
Wed, 15 Aug 2012 11:48:20 +0000 (14:48 +0300)
committerRoey Berman <roey.berman@gmail.com>
Wed, 15 Aug 2012 11:48:20 +0000 (14:48 +0300)
tornado/test/simple_httpclient_test.py

index 74059917dab548a6476569ab8bda0766bf876d4f..72dcdd163eca8673baf5da3325f04e2fe09ee2fe 100644 (file)
@@ -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'))