diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-03 17:41:43 -0800 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2018-02-03 20:41:43 -0500 |
commit | e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df (patch) | |
tree | 93595a8942b755afd2b49bc574fb7dce9a072ea1 /Lib/test/test_concurrent_futures.py | |
parent | 52f745852e49498d7dd86fd309ae57f6a7af568f (diff) | |
download | cpython-git-e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df.tar.gz |
[3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520)
Fix typos found by codespell in docs, docstrings, and comments.
(cherry picked from commit c3d9508ff22ece9a96892b628dd5813e2fb0cd80)
Co-authored-by: Leo Arias <leo.arias@canonical.com>
Diffstat (limited to 'Lib/test/test_concurrent_futures.py')
-rw-r--r-- | Lib/test/test_concurrent_futures.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_concurrent_futures.py b/Lib/test/test_concurrent_futures.py index 675cd7ae05..18d0265f3f 100644 --- a/Lib/test/test_concurrent_futures.py +++ b/Lib/test/test_concurrent_futures.py @@ -398,7 +398,7 @@ class ProcessPoolShutdownTest(ExecutorShutdownTest): queue_management_thread = executor._queue_management_thread del executor - # Make sure that all the executor ressources were properly cleaned by + # Make sure that all the executor resources were properly cleaned by # the shutdown process queue_management_thread.join() for p in processes.values(): @@ -886,24 +886,24 @@ class ExecutorDeadlockTest: # extensive testing for deadlock caused by crashes in a pool. self.executor.shutdown(wait=True) crash_cases = [ - # Check problem occuring while pickling a task in + # Check problem occurring while pickling a task in # the task_handler thread (id, (ErrorAtPickle(),), PicklingError, "error at task pickle"), - # Check problem occuring while unpickling a task on workers + # Check problem occurring while unpickling a task on workers (id, (ExitAtUnpickle(),), BrokenProcessPool, "exit at task unpickle"), (id, (ErrorAtUnpickle(),), BrokenProcessPool, "error at task unpickle"), (id, (CrashAtUnpickle(),), BrokenProcessPool, "crash at task unpickle"), - # Check problem occuring during func execution on workers + # Check problem occurring during func execution on workers (_crash, (), BrokenProcessPool, "crash during func execution on worker"), (_exit, (), SystemExit, "exit during func execution on worker"), (_raise_error, (RuntimeError, ), RuntimeError, "error during func execution on worker"), - # Check problem occuring while pickling a task result + # Check problem occurring while pickling a task result # on workers (_return_instance, (CrashAtPickle,), BrokenProcessPool, "crash during result pickle on worker"), @@ -911,7 +911,7 @@ class ExecutorDeadlockTest: "exit during result pickle on worker"), (_return_instance, (ErrorAtPickle,), PicklingError, "error during result pickle on worker"), - # Check problem occuring while unpickling a task in + # Check problem occurring while unpickling a task in # the result_handler thread (_return_instance, (ErrorAtUnpickle,), BrokenProcessPool, "error during result unpickle in result_handler"), |