From 791abf3f00611c8b3f9099ea76c736737f543892 Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Sun, 15 Oct 2017 00:26:40 +0800 Subject: [PATCH] fix typo suceeded -> succeeded (#2258) --- luigi/execution_summary.py | 2 +- test/execution_summary_test.py | 2 +- test/worker_keep_alive_test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luigi/execution_summary.py b/luigi/execution_summary.py index 256f341b69..6a5ecf0fa3 100644 --- a/luigi/execution_summary.py +++ b/luigi/execution_summary.py @@ -382,7 +382,7 @@ def _summary_format(set_tasks, worker): if set_tasks["ever_failed"]: if not set_tasks["failed"]: smiley = ":)" - reason = "there were failed tasks but they all suceeded in a retry" + reason = "there were failed tasks but they all succeeded in a retry" else: smiley = ":(" reason = "there were failed tasks" diff --git a/test/execution_summary_test.py b/test/execution_summary_test.py index 0d58fbb6ba..249782a04f 100644 --- a/test/execution_summary_test.py +++ b/test/execution_summary_test.py @@ -1116,4 +1116,4 @@ def complete(self): self.assertIn('Scheduled 1 task', s) self.assertIn('Luigi Execution Summary', s) self.assertNotIn('ever failed', s) - self.assertIn('\n\nThis progress looks :) because there were failed tasks but they all suceeded in a retry', s) + self.assertIn('\n\nThis progress looks :) because there were failed tasks but they all succeeded in a retry', s) diff --git a/test/worker_keep_alive_test.py b/test/worker_keep_alive_test.py index 0efcf0431d..1ae966ca17 100644 --- a/test/worker_keep_alive_test.py +++ b/test/worker_keep_alive_test.py @@ -107,7 +107,7 @@ def requires(self): # ... because in this case the only work remaining depends on DISABLED tasks, # hence it's not worth considering the wrapper task as a PENDING task to # keep the worker alive anymore. - self.assertFalse(Succeeder.did_run) # It should never have run, it suceeded already + self.assertFalse(Succeeder.did_run) # It should never have run, it succeeded already finally: self.sch.prune() # This shouldnt be necessary in this version, but whatevs t.join(timeout=1) # Wait 1 second