*Not documented*
def finishcapture(self):
origin: test.Item
where:
function source:
def finishcapture(self):
if hasattr(self, '_capture'):
capture = self._capture
del self._capture
self.captured_out, self.captured_err = capture.reset()