Method
__exit__
(
self,
exc_type: Optional[Type[BaseException]],
exc_val: Optional[BaseException],
exc_tb: Optional[TracebackType],
)
Source from the content-addressed store, hash-verified
| 185 | return self |
| 186 | |
| 187 | def __exit__( |
| 188 | self, |
| 189 | exc_type: Optional[Type[BaseException]], |
| 190 | exc_val: Optional[BaseException], |
| 191 | exc_tb: Optional[TracebackType], |
| 192 | ) -> None: |
| 193 | self.stop() |
| 194 | |
| 195 | def _enable_redirect_io(self) -> None: |
| 196 | """Enable redirecting of stdout / stderr.""" |
Callers
nothing calls this directly
Tested by
no test coverage detected