def tearDown(self): event._remove_dispatcher(self.Target.__dict__['dispatch'].events)
def tearDown(self): for cls in (self.TargetElement, self.TargetFactory, self.BaseTarget): if 'dispatch' in cls.__dict__: event._remove_dispatcher(cls.__dict__['dispatch'].events)
def tearDown(self): event._remove_dispatcher(self.TargetOne.__dict__["dispatch"].events) event._remove_dispatcher(self.TargetTwo.__dict__["dispatch"].events)