From e98dfb1648f1fd445aa2a32090c4c90f8a5d61a5 Mon Sep 17 00:00:00 2001 From: earthmant Date: Thu, 3 Dec 2015 13:51:21 +0200 Subject: [PATCH] corrected unused import in test_vpn_connectins --- tests/test_ec2/test_vpn_connections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ec2/test_vpn_connections.py b/tests/test_ec2/test_vpn_connections.py index 064ff0e88..dd96e7b65 100644 --- a/tests/test_ec2/test_vpn_connections.py +++ b/tests/test_ec2/test_vpn_connections.py @@ -1,6 +1,6 @@ from __future__ import unicode_literals import boto -from nose.tools import assert_raises, assert_in +from nose.tools import assert_raises import sure # noqa from boto.exception import EC2ResponseError @@ -28,7 +28,7 @@ def test_delete_vpn_connections(): @mock_ec2 def test_delete_vpn_connections_bad_id(): conn = boto.connect_vpc('the_key', 'the_secret') - with assert_raises(EC2ResponseError) as message: + with assert_raises(EC2ResponseError): conn.delete_vpn_connection('vpn-0123abcd') @mock_ec2