def stop_capturing(self):
if hasattr(self, "<STR_LIT>"):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self._reset = True<EOL>if self.out:<EOL><INDENT>self.out.done()<EOL><DEDENT>if self.err:<EOL><INDENT>self.err.done()<EOL><DEDENT>if self.in_:<EOL><INDENT>self.in_.done()<EOL><DEDENT>
stop capturing and reset capturing streams