'The C{"why"} value, when unspecified, defaults to C{"Unhandled Error"}.'

def test_whyDefault(self):

    try:
        raise RuntimeError()
    except:
        eventDict = dict(message=(), isError=1, failure=failure.Failure())
        text = log.textFromEventDict(eventDict)
        self.assertTrue(text.startswith('Unhandled    Error\n'))
