summaryrefslogtreecommitdiff
path: root/asyncio/test_utils.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-02-18 22:25:37 -0500
committerYury Selivanov <yselivanov@sprymix.com>2014-02-18 22:25:37 -0500
commit392b947d7811a61fc6e268c59fa40f5d2ad6e126 (patch)
tree5d23b78c99469e345a9a9e912f06cf7957f90a80 /asyncio/test_utils.py
parent736dd3d4d1e0ed166c161cb42ac950822ad10033 (diff)
downloadtrollius-392b947d7811a61fc6e268c59fa40f5d2ad6e126.tar.gz
Fix spelling & typos
Diffstat (limited to 'asyncio/test_utils.py')
-rw-r--r--asyncio/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/asyncio/test_utils.py b/asyncio/test_utils.py
index 28e5243..2a8a241 100644
--- a/asyncio/test_utils.py
+++ b/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'))