def METHOD_NAME(self):
    self.assert_ok("""\
        from sys import exc_info
        try:
            raise Exception
        except:
            _, _, tb = exc_info()
        raise ValueError, "message", tb
        """, raises=ValueError)