def METHOD_NAME(self):
    g = gen()
    next(g)
    try:
        g.throw(OverflowError)
    except OverflowError as e:
        self.assertEqual(e.args, ())
    else:
        self.fail("Exception not thrown")