mirror of
https://github.com/python/cpython.git
synced 2026-05-12 13:30:47 +00:00
Removed duplicated words in in comments and docs.
This commit is contained in:
commit
83000a490a
16 changed files with 19 additions and 19 deletions
|
|
@ -105,7 +105,7 @@ def test_wait_for_handle(self):
|
|||
|
||||
_overlapped.SetEvent(event)
|
||||
|
||||
# Wait for for set event;
|
||||
# Wait for set event;
|
||||
# result should be True immediately
|
||||
fut = self.loop._proactor.wait_for_handle(event, 10)
|
||||
start = self.loop.time()
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
PORT = None
|
||||
|
||||
def make_request_and_skipIf(condition, reason):
|
||||
# If we skip the test, we have to make a request because the
|
||||
# If we skip the test, we have to make a request because
|
||||
# the server created in setUp blocks expecting one to come in.
|
||||
if not condition:
|
||||
return lambda func: func
|
||||
|
|
|
|||
|
|
@ -517,7 +517,7 @@ def is_unavailable_exception(e):
|
|||
return True
|
||||
|
||||
def make_request_and_skipIf(condition, reason):
|
||||
# If we skip the test, we have to make a request because the
|
||||
# If we skip the test, we have to make a request because
|
||||
# the server created in setUp blocks expecting one to come in.
|
||||
if not condition:
|
||||
return lambda func: func
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class ZipSupportTests(unittest.TestCase):
|
|||
# This used to use the ImportHooksBaseTestCase to restore
|
||||
# the state of the import related information
|
||||
# in the sys module after each test. However, that restores
|
||||
# *too much* information and breaks for the invocation of
|
||||
# *too much* information and breaks for the invocation
|
||||
# of test_doctest. So we do our own thing and leave
|
||||
# sys.modules alone.
|
||||
# We also clear the linecache and zipimport cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue