def test_explicit_message_on_exception_event(self):
        try:
            raise ValueError('foo')
        except __HOLE__:
            self.client.captureException(data={'message': 'foobar'})

        self.assertEquals(len(self.client.events), 1)
        event = self.client.events.pop(0)
        self.assertEquals(event['message'], 'foobar')
dataset/ETHPy150Open getsentry/raven-python/tests/base/tests.py/ClientTest.test_explicit_message_on_exception_event