diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-02-18 22:27:48 -0500 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-02-18 22:27:48 -0500 |
commit | dec1a45fd1b37d4688fa5846a0d32a2393808fb1 (patch) | |
tree | c0affa11a1d58436f2b109e2330bf104ae000afd /Lib/asyncio/test_utils.py | |
parent | 74d519fcc685f903a9127987ae53ff75eaf17d73 (diff) | |
download | cpython-dec1a45fd1b37d4688fa5846a0d32a2393808fb1.tar.gz cpython-dec1a45fd1b37d4688fa5846a0d32a2393808fb1.zip |
asyncio: Fix spelling and typos.
Thanks to Vajrasky Kok for discovering some of them.
Diffstat (limited to 'Lib/asyncio/test_utils.py')
-rw-r--r-- | Lib/asyncio/test_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index 28e52430ad9..2a8a241fd5e 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -259,7 +259,7 @@ class TestLoop(base_events.BaseEventLoop): when = yield ... ... = yield time_advance - Value retuned by yield is absolute time of next scheduled handler. + Value returned by yield is absolute time of next scheduled handler. Value passed to yield is time advance to move loop's time forward. """ @@ -369,7 +369,7 @@ class MockPattern(str): """A regex based str with a fuzzy __eq__. Use this helper with 'mock.assert_called_with', or anywhere - where a regexp comparison between strings is needed. + where a regex comparison between strings is needed. For instance: mock_call.assert_called_with(MockPattern('spam.*ham')) |