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