/snap/core22/2411/usr/lib/python3.10/unittest/__pycache__
NameSizeModeActions
async_case.cpython-310.pyc47460644editdlrm
case.cpython-310.pyc484900644editdlrm
loader.cpython-310.pyc144240644editdlrm
main.cpython-310.pyc75560644editdlrm
mock.cpython-310.pyc798130644editdlrm
result.cpython-310.pyc80390644editdlrm
runner.cpython-310.pyc69520644editdlrm
signals.cpython-310.pyc22530644editdlrm
suite.cpython-310.pyc102680644editdlrm
util.cpython-310.pyc45400644editdlrm
_log.cpython-310.pyc26880644editdlrm
__init__.cpython-310.pyc33950644editdlrm
__main__.cpython-310.pyc4020644editdlrm
Edit: /snap/core22/2411/usr/lib/python3.10/unittest/__pycache__/signals.cpython-310.pyc (2253B)
o `€wic ã@sbddlZddlZddlmZdZGdd„deƒZe ¡Zdd„Z dd „Z da d d „Z dd d „Z dS)éN)ÚwrapsTc@seZdZdd„Zdd„ZdS)Ú_InterruptHandlercCsNd|_||_t|tƒr"|tjkrtj}n|tjkrdd„}ntdƒ‚||_ dS)NFcSsdS©N©)Ú unused_signumÚ unused_framerrú'/usr/lib/python3.10/unittest/signals.pyÚdefault_handlersz3_InterruptHandler.__init__..default_handlerzYexpected SIGINT signal handler to be signal.SIG_IGN, signal.SIG_DFL, or a callable object) ÚcalledÚoriginal_handlerÚ isinstanceÚintÚsignalÚSIG_DFLÚdefault_int_handlerÚSIG_IGNÚ TypeErrorr )Úselfr rrrÚ__init__ s     z_InterruptHandler.__init__cCsRt tj¡}||ur| ||¡|jr| ||¡d|_t ¡D]}| ¡q dS)NT)rÚ getsignalÚSIGINTr r Ú_resultsÚkeysÚstop)rÚsignumÚframeÚinstalled_handlerÚresultrrrÚ__call__s     ÿz_InterruptHandler.__call__N)Ú__name__Ú __module__Ú __qualname__rrrrrrr s rcCs dt|<dS)Né)r©rrrrÚregisterResult*s r$cCstt |d¡ƒSr)ÚboolrÚpopr#rrrÚ removeResult-sr'cCs2tdurt tj¡}t|ƒat tjt¡dSdSr)Ú_interrupt_handlerrrrr)r rrrÚinstallHandler1s  ýr)cs@ˆdurtˆƒ‡fdd„ƒ}|Stdurt tjtj¡dSdS)Nc sBt tj¡}tƒzˆ|i|¤ŽWt tj|¡St tj|¡wr)rrrÚ removeHandler)ÚargsÚkwargsÚinitial©ÚmethodrrÚinner;s  zremoveHandler..inner)rr(rrr )r/r0rr.rr*9sÿr*r)rÚweakrefÚ functoolsrÚ __unittestÚobjectrÚWeakKeyDictionaryrr$r'r(r)r*rrrrÚs