(self)
| 627 | self.call_soon_threadsafe(future.set_exception, ex) |
| 628 | |
| 629 | def _check_running(self): |
| 630 | if self.is_running(): |
| 631 | raise RuntimeError('This event loop is already running') |
| 632 | if events._get_running_loop() is not None: |
| 633 | raise RuntimeError( |
| 634 | 'Cannot run the event loop while another loop is running') |
| 635 | |
| 636 | def _run_forever_setup(self): |
| 637 | """Prepare the run loop to process events. |
no test coverage detected