summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_base_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
index 8d0796ab7b..9c2bda1f96 100644
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -9,6 +9,7 @@ import unittest.mock
from test.support import find_unused_port, IPV6_ENABLED
import asyncio
+from asyncio import base_events
from asyncio import constants
from asyncio import test_utils
@@ -16,7 +17,7 @@ from asyncio import test_utils
class BaseEventLoopTests(unittest.TestCase):
def setUp(self):
- self.loop = asyncio.BaseEventLoop()
+ self.loop = base_events.BaseEventLoop()
self.loop._selector = unittest.mock.Mock()
asyncio.set_event_loop(None)