Instantiate exception_raised in test.

This commit is contained in:
Blake Griffith
2016-07-08 16:03:40 -05:00
parent 4b4a02a7af
commit ed73c55b7b
+1
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