class_docstr: Custom StreamHandler used by the live logging feature: it will write a newline before the first log message
  in each test.
  
  During live logging we must also explicitly disable stdout/stderr capturing otherwise it will get captured
  and won't appear in the terminal.
class_docstr_tok: ["Custom","StreamHandler","used","by","the","live","logging","feature",":","it","will","write","a","newline","before","the","first","log","message","in","each","test",".","During","live","logging","we","must","also","explicitly","disable","stdout\/stderr","capturing","otherwise","it","will","get","captured","and","wo","n't","appear","in","the","terminal","."]
docstr: Reset the handler; should be called before the start of each test
docstr_tok: ["Reset","the","handler",";","should","be","called","before","the","start","of","each","test"]
code: def reset(self):
      """Reset the handler; should be called before the start of each test"""
      self._first_record_emitted = False
  
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 2 for calling the _LiveLoggingStreamHandler obj's underlying member method code with example usage: obj.reset() without return types