{|j
d dl Z d dlZddlmZ ej dddg Z G d de j Z G d d
e Zy) N )_BaseTestCaseContext_LoggingWatcherrecordsoutputc " e Zd ZdZd Zd Zd Zy)_CapturingHandlerzM
A logging handler capturing all (raw and formatted) logging output.
c d t j j | t g g | _ y N)loggingHandler__init__r watcherselfs &/usr/lib64/python3.12/unittest/_log.pyr z_CapturingHandler.__init__ s" &&r2. c y r r s r flushz_CapturingHandler.flush s r c | j j j | | j | }| j j j | y r )r r appendformatr )r recordmsgs r emitz_CapturingHandler.emit s@ ##F+kk&!""3'r N)__name__
__module____qualname____doc__r r r r r r r r
s /
(r r c &