diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-05-20 15:57:08 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-05-20 15:57:08 +0200 |
commit | 93668f4459fea03b88abda0c86f1981f402b15fb (patch) | |
tree | 43c3e80d6d565ce4cdf538a19d5c8fb4b9ad9275 /Lib/test | |
parent | b7b56e9110171fb4430d3711c4054d1425d5bc1c (diff) | |
download | cpython-git-93668f4459fea03b88abda0c86f1981f402b15fb.tar.gz |
asyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock to
simplify the synchronization with Trollius
Diffstat (limited to 'Lib/test')
-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 544bd3dde1..4ba95565da 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 |