mtest: fix annotaion of stdo_task and stde_task
Which are `Task`s, not `Future`s, and they return `None`, not `str`.
Spotted by newer versions of mypy
@@ -1251,8 +1251,8 @@ class TestSubprocess:
self._process = p
self.stdout = stdout
self.stderr = stderr
- self.stdo_task = None # type: T.Optional[asyncio.Future[str]]
- self.stde_task = None # type: T.Optional[asyncio.Future[str]]
+ self.stdo_task: T.Optional[asyncio.Task[None]] = None
+ self.stde_task: T.Optional[asyncio.Task[None]] = None
self.postwait_fn = postwait_fn # type: T.Callable[[], None]
self.all_futures = [] # type: T.List[asyncio.Future]
self.queue = None # type: T.Optional[asyncio.Queue[T.Optional[str]]]
