From a956c3a85cea2c2c890ae89b95eb4e1b76b9d16a Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Sat, 3 Jun 2017 19:35:23 -0400 Subject: [PATCH] Fix tests for py3. --- 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 8841f9f71..1cb00d4be 100644 --- a/tests/test_s3/test_s3.py +++ b/tests/test_s3/test_s3.py @@ -1425,7 +1425,7 @@ def test_boto3_delete_markers(): @mock_s3 def test_get_stream_gzipped(): - payload = "this is some stuff here" + payload = b"this is some stuff here" s3_client = boto3.client("s3", region_name='us-east-1') s3_client.create_bucket(Bucket='moto-tests')