def test_exceptions(self):
        f = mod.get_function('raise')
        try:
            result = interp.run(f)
        except interp.UncaughtException as e:
            exc, = e.args
            assert isinstance(exc, TypeError), exc
        else:
            assert False, result