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

@ -16,13 +16,14 @@ except ImportError:
import asyncio
from asyncio import selectors
from asyncio import test_utils
from asyncio.selector_events import BaseSelectorEventLoop
from asyncio.selector_events import _SelectorTransport
from asyncio.selector_events import _SelectorSslTransport
from asyncio.selector_events import _SelectorSocketTransport
from asyncio.selector_events import _SelectorDatagramTransport
class TestBaseSelectorEventLoop(asyncio.BaseSelectorEventLoop):
class TestBaseSelectorEventLoop(BaseSelectorEventLoop):
def _make_self_pipe(self):
self._ssock = unittest.mock.Mock()