@@ -398,7 +398,7 @@ def test_del_shutdown(self):
398398 queue_management_thread = executor ._queue_management_thread
399399 del executor
400400
401- # Make sure that all the executor ressources were properly cleaned by
401+ # Make sure that all the executor resources were properly cleaned by
402402 # the shutdown process
403403 queue_management_thread .join ()
404404 for p in processes .values ():
@@ -886,32 +886,32 @@ def test_crash(self):
886886 # extensive testing for deadlock caused by crashes in a pool.
887887 self .executor .shutdown (wait = True )
888888 crash_cases = [
889- # Check problem occuring while pickling a task in
889+ # Check problem occurring while pickling a task in
890890 # the task_handler thread
891891 (id , (ErrorAtPickle (),), PicklingError , "error at task pickle" ),
892- # Check problem occuring while unpickling a task on workers
892+ # Check problem occurring while unpickling a task on workers
893893 (id , (ExitAtUnpickle (),), BrokenProcessPool ,
894894 "exit at task unpickle" ),
895895 (id , (ErrorAtUnpickle (),), BrokenProcessPool ,
896896 "error at task unpickle" ),
897897 (id , (CrashAtUnpickle (),), BrokenProcessPool ,
898898 "crash at task unpickle" ),
899- # Check problem occuring during func execution on workers
899+ # Check problem occurring during func execution on workers
900900 (_crash , (), BrokenProcessPool ,
901901 "crash during func execution on worker" ),
902902 (_exit , (), SystemExit ,
903903 "exit during func execution on worker" ),
904904 (_raise_error , (RuntimeError , ), RuntimeError ,
905905 "error during func execution on worker" ),
906- # Check problem occuring while pickling a task result
906+ # Check problem occurring while pickling a task result
907907 # on workers
908908 (_return_instance , (CrashAtPickle ,), BrokenProcessPool ,
909909 "crash during result pickle on worker" ),
910910 (_return_instance , (ExitAtPickle ,), SystemExit ,
911911 "exit during result pickle on worker" ),
912912 (_return_instance , (ErrorAtPickle ,), PicklingError ,
913913 "error during result pickle on worker" ),
914- # Check problem occuring while unpickling a task in
914+ # Check problem occurring while unpickling a task in
915915 # the result_handler thread
916916 (_return_instance , (ErrorAtUnpickle ,), BrokenProcessPool ,
917917 "error during result unpickle in result_handler" ),
0 commit comments