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