Skip to content

Commit

Permalink
Oops, can't use the form of assertRaises on 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
erinzm committed Oct 25, 2015
1 parent 17bd379 commit 88cc70b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions letsencrypt/plugins/manual_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ def test_disagree_with_ip_logging(self, mock_raw_input, mock_verify, mock_stdout
# 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__":
Expand Down

0 comments on commit 88cc70b

Please sign in to comment.