class_docstr: A logging handler that stores log records and the log text.
class_docstr_tok: ["A","logging","handler","that","stores","log","records","and","the","log","text","."]
code: def reset(self):
      self.records = []
      self.stream = py.io.TextIO()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import re
  from contextlib import contextmanager
  import py
  import six
  import pytest
  from _pytest.compat import dummy_context_manager
  from _pytest.config import create_terminal_writer
  from _pytest.pathlib import Path
label_desc: Use image node_id 3 for calling the LogCaptureHandler obj's underlying member method code with example usage: obj.reset() without return types