diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-05-20 13:57:08 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-05-20 13:57:08 (GMT) |
commit | 93668f4459fea03b88abda0c86f1981f402b15fb (patch) | |
tree | 43c3e80d6d565ce4cdf538a19d5c8fb4b9ad9275 /Lib/test/test_asyncio/test_base_events.py | |
parent | b7b56e9110171fb4430d3711c4054d1425d5bc1c (diff) | |
download | cpython-93668f4459fea03b88abda0c86f1981f402b15fb.zip cpython-93668f4459fea03b88abda0c86f1981f402b15fb.tar.gz cpython-93668f4459fea03b88abda0c86f1981f402b15fb.tar.bz2 |
asyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock to
simplify the synchronization with Trollius
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py index 544bd3d..4ba9556 100644 --- a/Lib/test/test_asyncio/test_base_events.py +++ b/Lib/test/test_asyncio/test_base_events.py @@ -141,7 +141,7 @@ class BaseEventLoopTests(unittest.TestCase): pass other_loop = base_events.BaseEventLoop() - other_loop._selector = unittest.mock.Mock() + other_loop._selector = mock.Mock() asyncio.set_event_loop(other_loop) # raise RuntimeError if the event loop is different in debug mode |