def test_stopErrored(self):
        self.dieNext()
        self.scheduler.pump()
        self.assertRaises(task.TaskFailed, self.task.stop)
C{stop()}ping a L{CooperativeTask} whose iterator has encountered an
dataset/ETHPy150Open twisted/twisted/twisted/test/test_cooperator.py/RunStateTests.test_stopErrored