Stops the `.IOLoop`, causing one pending (or future) call to `wait()` to return. Keyword arguments or a single positional argument passed to `stop()` are saved and will be returned by `wait()`. .. deprecated:: 5.1 `stop` and `wait` are deprecated; use ``
(self, _arg: Any = None, **kwargs: Any)
| 275 | raise ValueError("Return value from test method ignored: %r" % result) |
| 276 | |
| 277 | def stop(self, _arg: Any = None, **kwargs: Any) -> None: |
| 278 | """Stops the `.IOLoop`, causing one pending (or future) call to `wait()` |
| 279 | to return. |
| 280 | |
| 281 | Keyword arguments or a single positional argument passed to `stop()` are |
| 282 | saved and will be returned by `wait()`. |
| 283 | |
| 284 | .. deprecated:: 5.1 |
| 285 | |
| 286 | `stop` and `wait` are deprecated; use ``@gen_test`` instead. |
| 287 | """ |
| 288 | assert _arg is None or not kwargs |
| 289 | self.__stop_args = kwargs or _arg |
| 290 | if self.__running: |
| 291 | self.io_loop.stop() |
| 292 | self.__running = False |
| 293 | self.__stopped = True |
| 294 | |
| 295 | def wait( |
| 296 | self, |
no outgoing calls
no test coverage detected