From: Ivan Malison Date: Thu, 30 Jul 2015 11:19:17 +0000 (-0700) Subject: Fix tornado python3 tests. X-Git-Tag: v1.7.0~4 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4d438dac75b0ef08171a70fe82c916bb7a814269;p=vcrpy.git Fix tornado python3 tests. --- diff --git a/tests/integration/test_tornado.py b/tests/integration/test_tornado.py index 3ef662e..f10c70b 100644 --- a/tests/integration/test_tornado.py +++ b/tests/integration/test_tornado.py @@ -283,4 +283,4 @@ def test_tornado_with_decorator_use_cassette(get_client): response = yield get_client().fetch( http.HTTPRequest('http://www.google.com/', method='GET') ) - assert response.body == "not actually google" + assert response.body.decode('utf-8') == "not actually google"