summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/test_utils.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-02-19 03:27:48 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2014-02-19 03:27:48 (GMT)
commitb0b0e628ee453126efb16805588ef60e2601fd08 (patch)
tree1048819ba08c5f0f1db2b96abdcc0e38c16d24db /Lib/asyncio/test_utils.py
parent8abac348a9a6d8f64527f913609789f50251ba58 (diff)
downloadcpython-b0b0e628ee453126efb16805588ef60e2601fd08.zip
cpython-b0b0e628ee453126efb16805588ef60e2601fd08.tar.gz
cpython-b0b0e628ee453126efb16805588ef60e2601fd08.tar.bz2
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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py
index 28e5243..2a8a241 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'))