def test_reset_state_exit_exception(self):
    dummy = self.DummyStack()
    exc = self.assertRaises(BaseException, dummy.raise_exit_exception)
    self.assertIn('bye', str(exc))
    self.assertTrue(dummy.mark_failed.called)
def test_reset_state_exit_exception(self):
    dummy = self.DummyStack()
    exc = self.assertRaises(BaseException, dummy.raise_exit_exception)
    self.assertIn('bye', str(exc))
    self.assertTrue(dummy.mark_failed.called)