From dd092fa9dcc5b6446a245f8e4c3da1edbb2d7cc7 Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Sun, 2 Aug 2015 09:59:16 -0400 Subject: [PATCH] Fix s3 py3 test for unicode. --- tests/test_s3/test_s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_s3/test_s3.py b/tests/test_s3/test_s3.py index ca54988f7..2b9fb7099 100644 --- a/tests/test_s3/test_s3.py +++ b/tests/test_s3/test_s3.py @@ -884,4 +884,4 @@ def test_boto3_bucket_create(): s3.Object('blah', 'hello.txt').put(Body="some text") - s3.Object('blah', 'hello.txt').get()['Body'].read().should.equal("some text") + s3.Object('blah', 'hello.txt').get()['Body'].read().decode("utf-8").should.equal("some text")