1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Instantiate exception_raised in test.

This commit is contained in:
Blake Griffith
2016-07-08 16:03:40 -05:00
parent 4b4a02a7af
commit ed73c55b7b

View File

@@ -42,6 +42,7 @@ class ErrorHandlerTest(unittest.TestCase):
self.signals = error_handler._SIGNALS
def test_context_manager(self):
exception_raised = False
try:
with self.handler:
raise ValueError