From de0a7413098d9bdad795432d4a87393626d23199 Mon Sep 17 00:00:00 2001 From: Dan Tenenbaum Date: Thu, 3 Nov 2016 14:30:35 -0700 Subject: [PATCH] syntax fix --- tests/test_ec2/test_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ec2/test_tags.py b/tests/test_ec2/test_tags.py index 034e2c01b..552054d51 100644 --- a/tests/test_ec2/test_tags.py +++ b/tests/test_ec2/test_tags.py @@ -115,7 +115,7 @@ def test_tag_limit_exceeded(): instance = reservation.instances[0] tag_dict = {} for i in range(51): - tag_dict['{:02}'.format(i)] = '' + tag_dict['{:02d}'.format(i+1)] = '' with assert_raises(EC2ResponseError) as cm: conn.create_tags(instance.id, tag_dict)