'Test without changing sys.excepthook.'

def test_normal(self):

    sys.excepthook = excepthook
    assert (sys.excepthook is excepthook)
    with utils.disabled_excepthook():
        assert (sys.excepthook is not excepthook)
    assert (sys.excepthook is excepthook)
