summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_base_events.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-25 15:27:08 (GMT)
committerYury Selivanov <yury@magic.io>2018-09-25 15:27:08 (GMT)
commit6ea29c5e90dde6c240bd8e0815614b52ac307ea1 (patch)
treeb13f44020dc742f6d06d8adb71961b734b06c2ea /Lib/test/test_asyncio/test_base_events.py
parentc8c0249c9e8f61ab7670119a5a5278354df27bbb (diff)
downloadcpython-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.py2
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')