mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
Oops, can't use the form of assertRaises on 2.6
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user