mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
This commit is contained in:
parent
eb9aca3c07
commit
46f50726a0
67 changed files with 241 additions and 241 deletions
|
|
@ -676,7 +676,7 @@ class FutureTests(unittest.TestCase):
|
|||
self.assertEqual(SUCCESSFUL_FUTURE.result(timeout=0), 42)
|
||||
|
||||
def test_result_with_success(self):
|
||||
# TODO(brian@sweetapp.com): This test is timing dependant.
|
||||
# TODO(brian@sweetapp.com): This test is timing dependent.
|
||||
def notification():
|
||||
# Wait until the main thread is waiting for the result.
|
||||
time.sleep(1)
|
||||
|
|
@ -689,7 +689,7 @@ class FutureTests(unittest.TestCase):
|
|||
self.assertEqual(f1.result(timeout=5), 42)
|
||||
|
||||
def test_result_with_cancel(self):
|
||||
# TODO(brian@sweetapp.com): This test is timing dependant.
|
||||
# TODO(brian@sweetapp.com): This test is timing dependent.
|
||||
def notification():
|
||||
# Wait until the main thread is waiting for the result.
|
||||
time.sleep(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue