https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/logger/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/logger/test/__pycache__/test_capture.cpython-310.pyc
o

�b@�@s@dZddlmZmZddlmZddlmZGdd�de�ZdS)	z,
Test cases for L{twisted.logger._capture}.
�)�Logger�LogLevel)�TestCase�)�capturedLogsc@s eZdZdZe�Zddd�ZdS)�LogCaptureTestsz'
    Tests for L{LogCaptureTests}.
    �returnNcCs�t�}t��}|jjd|d�|jjd|d�Wd�n1s!wY|�t|�dk�|�|ddd�|�|ddtj�|�|dd	|�|�|d
dd�|�|d
dtj�|�|d
d	|�dS)z<
        Events logged within context are captured.
        zCapture this, please)�foozCapture this too, pleaseNrr�
log_format�	log_levelr	�)	�objectr�log�debug�info�
assertTrue�len�assertEqualr)�selfr	�captured�r�B/usr/lib/python3/dist-packages/twisted/logger/test/test_capture.py�test_captures�zLogCaptureTests.test_capture)rN)�__name__�
__module__�__qualname__�__doc__rrrrrrrr
srN)	r�twisted.loggerrr�twisted.trial.unittestr�_capturerrrrrr�<module>s


https://t.me/RX1948 - 2025