From b64dbcaa12aa284d7a0ae39d9337747522641ee0 Mon Sep 17 00:00:00 2001 From: Mike Attili Date: Thu, 7 Nov 2013 17:07:56 -0500 Subject: [PATCH] Remove ()'s on complete_upload since should.throw requires a 'callable'. --- 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 f4a5ad18d..8cbd489d0 100644 --- a/tests/test_s3/test_s3.py +++ b/tests/test_s3/test_s3.py @@ -47,7 +47,7 @@ def test_multipart_upload(): multipart.upload_part_from_file(BytesIO('hello'), 1) multipart.upload_part_from_file(BytesIO('world'), 2) # Multipart with total size under 5MB is refused - multipart.complete_upload().should.throw(S3ResponseError) + multipart.complete_upload.should.throw(S3ResponseError) multipart = bucket.initiate_multipart_upload("the-key") part1 = '0' * 5242880