(self, **kw)
| 1144 | |
| 1145 | @contextlib.contextmanager |
| 1146 | def getcapture(self, **kw): |
| 1147 | cap = self.__class__.captureclass(**kw) |
| 1148 | cap.start_capturing() |
| 1149 | try: |
| 1150 | yield cap |
| 1151 | finally: |
| 1152 | cap.stop_capturing() |
| 1153 | |
| 1154 | def test_capturing_done_simple(self) -> None: |
| 1155 | with self.getcapture() as cap: |
no test coverage detected