diff --git a/tests/test_s3/test_s3.py b/tests/test_s3/test_s3.py
index 896b31b3e..19615805e 100644
--- a/tests/test_s3/test_s3.py
+++ b/tests/test_s3/test_s3.py
@@ -176,9 +176,9 @@ def test_multipart_invalid_order():
# last part, can be less than 5 MB
part2 = b'1'
etag2 = multipart.upload_part_from_file(BytesIO(part2), 2).etag
- xml = "{}{}"
+ xml = "{0}{1}"
xml = xml.format(2, etag2) + xml.format(1, etag1)
- xml = "{}".format(xml)
+ xml = "{0}".format(xml)
bucket.complete_multipart_upload.when.called_with(
multipart.key_name, multipart.id, xml).should.throw(S3ResponseError)