(self, _warn=warnings.warn)
| 759 | return self._closed |
| 760 | |
| 761 | def __del__(self, _warn=warnings.warn): |
| 762 | if not self.is_closed(): |
| 763 | _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) |
| 764 | if not self.is_running(): |
| 765 | self.close() |
| 766 | |
| 767 | def is_running(self): |
| 768 | """Returns True if the event loop is running.""" |
nothing calls this directly
no test coverage detected