mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#11565: Fix several typos. Patch by Piotr Kasprzyk.
This commit is contained in:
parent
6905de14fe
commit
c2077b0d9b
91 changed files with 125 additions and 125 deletions
|
@ -18,7 +18,7 @@ import logging
|
|||
from test import test_support
|
||||
from StringIO import StringIO
|
||||
_multiprocessing = test_support.import_module('_multiprocessing')
|
||||
# import threading after _multiprocessing to raise a more revelant error
|
||||
# import threading after _multiprocessing to raise a more relevant error
|
||||
# message: "No module named _multiprocessing". _multiprocessing is not compiled
|
||||
# without thread support.
|
||||
import threading
|
||||
|
@ -780,7 +780,7 @@ class _TestEvent(BaseTestCase):
|
|||
event = self.Event()
|
||||
wait = TimingWrapper(event.wait)
|
||||
|
||||
# Removed temporaily, due to API shear, this does not
|
||||
# Removed temporarily, due to API shear, this does not
|
||||
# work with threading._Event objects. is_set == isSet
|
||||
self.assertEqual(event.is_set(), False)
|
||||
|
||||
|
@ -1705,7 +1705,7 @@ class _TestFinalize(BaseTestCase):
|
|||
|
||||
util.Finalize(None, conn.send, args=('STOP',), exitpriority=-100)
|
||||
|
||||
# call mutliprocessing's cleanup function then exit process without
|
||||
# call multiprocessing's cleanup function then exit process without
|
||||
# garbage collecting locals
|
||||
util._exit_function()
|
||||
conn.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue