'Formatting an event that\'s just plain out to get us.'

def test_formatUnformattableEvent(self):

    event = dict(log_format='{evil()}', evil=(lambda : (1 / 0)))
    result = formatEvent(event)
    self.assertIn('Unable    to    format    event', result)
    self.assertIn(repr(event), result)
