def test_removeAlmostValidTrigger(self):
        self.assertRaises(
            KeyError,
            self.event.removeTrigger, ('xxx', self.trigger, (self.arg,), {}))
L{_ThreePhaseEvent.removeTrigger} should raise L{ValueError} if it is
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_internet.py/ThreePhaseEventTests.test_removeAlmostValidTrigger