(self)
| 222 | self._write_ready_fut = None |
| 223 | |
| 224 | async def drain(self): |
| 225 | if self._transport.is_closing(): |
| 226 | raise ConnectionError("Connection closed by peer") |
| 227 | fut = self._write_ready_fut |
| 228 | if fut is None: |
| 229 | return |
| 230 | await fut |
| 231 | |
| 232 | def connection_made(self, transport): |
| 233 | raise RuntimeError("Invalid state: " |
no test coverage detected