(self, **kw)
| 1065 | |
| 1066 | @contextlib.contextmanager |
| 1067 | def getcapture(self, **kw): |
| 1068 | cap = self.__class__.captureclass(**kw) |
| 1069 | cap.start_capturing() |
| 1070 | try: |
| 1071 | yield cap |
| 1072 | finally: |
| 1073 | cap.stop_capturing() |
| 1074 | |
| 1075 | def test_capturing_done_simple(self) -> None: |
| 1076 | with self.getcapture() as cap: |
no test coverage detected