(
self,
exc_type: Optional[type[BaseException]],
exc_value: Optional[type[BaseException]],
traceback: Optional[types.TracebackType],
)
| 281 | return self |
| 282 | |
| 283 | def __exit__( |
| 284 | self, |
| 285 | exc_type: Optional[type[BaseException]], |
| 286 | exc_value: Optional[type[BaseException]], |
| 287 | traceback: Optional[types.TracebackType], |
| 288 | ): |
| 289 | self.close_all_files() |
| 290 | shutil.rmtree(self.tmpdir, ignore_errors=True) |
| 291 | |
| 292 | def collect_file(self, filename): |
| 293 | """Add a file to the list of files collected. Used to capture the exact |
nothing calls this directly
no test coverage detected