diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-09-25 15:27:08 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2018-09-25 15:27:08 (GMT) |
commit | 6ea29c5e90dde6c240bd8e0815614b52ac307ea1 (patch) | |
tree | b13f44020dc742f6d06d8adb71961b734b06c2ea /Lib/test/test_asyncio/test_base_events.py | |
parent | c8c0249c9e8f61ab7670119a5a5278354df27bbb (diff) | |
download | cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.zip cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.tar.gz cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.tar.bz2 |
bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)
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 fe3c383..95f4f6b 100644 --- a/Lib/test/test_asyncio/test_base_events.py +++ b/Lib/test/test_asyncio/test_base_events.py @@ -1014,7 +1014,7 @@ class BaseEventLoopWithSelectorTests(test_utils.TestCase): def setUp(self): super().setUp() - self.loop = asyncio.new_event_loop() + self.loop = asyncio.SelectorEventLoop() self.set_event_loop(self.loop) @mock.patch('socket.getnameinfo') |