def METHOD_NAME(self):
    def f():
        try:
            gevent.sleep(1.5)
        except: # pylint:disable=bare-except
            gevent.sleep(1)
    p1 = GreenletSubclass.spawn(f)
    p2 = GreenletSubclass.spawn(f)
    s = set()
    s.add(p1)
    s.add(p2)
    gevent.killall(s, timeout=0.5)
    for g in s:
        self.assertTrue(g.dead, g)