From 88cc70b5a526b2ce7666135f3dc0b5844bebbe94 Mon Sep 17 00:00:00 2001 From: Liam Marshall Date: Sun, 25 Oct 2015 15:46:21 -0500 Subject: [PATCH] Oops, can't use the form of assertRaises on 2.6 --- letsencrypt/plugins/manual_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/letsencrypt/plugins/manual_test.py b/letsencrypt/plugins/manual_test.py index d3b880e47..77871a51e 100644 --- a/letsencrypt/plugins/manual_test.py +++ b/letsencrypt/plugins/manual_test.py @@ -115,8 +115,7 @@ class AuthenticatorTest(unittest.TestCase): # pylint: disable=unused-argument mock_interaction().yesno.return_value = False - with self.assertRaises(errors.PluginError): - self.auth.perform(self.achalls) + self.assertRaises(errors.PluginError, self.auth.perform, self.achalls) if __name__ == "__main__":