asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop nor

BaseProactorEventLoop

Import them from submodules if you really need them.
This commit is contained in:
Victor Stinner 2014-01-25 22:22:18 +01:00
parent ce8d153b02
commit 128ee220e2
5 changed files with 13 additions and 15 deletions

View file

@ -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)