Merge pull request #524 from cosminstefanxp/master

Enable proper setup of signal handlers for SimpleWorkers
main
Selwin Ong 10 years ago
commit 9895cb8dae

@ -646,11 +646,6 @@ class Worker(object):
class SimpleWorker(Worker): class SimpleWorker(Worker):
def _install_signal_handlers(self, *args, **kwargs):
"""Signal handlers are useless for test worker, as it
does not have fork() ability"""
pass
def main_work_horse(self, *args, **kwargs): def main_work_horse(self, *args, **kwargs):
raise NotImplementedError("Test worker does not implement this method") raise NotImplementedError("Test worker does not implement this method")

Loading…
Cancel
Save