| Server IP : 121.121.20.254 / Your IP : 216.73.216.59 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/test/__pycache__/ |
Upload File : |
R
>lqj�Z c �� � Q s ] PHs] PHs] PHs] PHs] QHGs Q Q2 sQ s Q s
Q sQ s\O Q 2 sQ sQ
sQ sQ sQ
sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ s Q s!Q s"Q s#Q s$Q s%Q s&Q! s'Q" s(Q# s)Q$ s*Q% s+Q& s,Q' s-Q( s.Q) s/\0Q*6X cG ] Q+HG1s1 \1 2 \Od ]* s3\4 2 \3* \Od Q,* P! P! )-z�This script contains the actual auditing tests.
It should not be imported directly, but should be run by the test_audit
module with arguments identifying each test.
)� swap_itemc �\ ` � \ sQ s]s n QsP\1Q ksQ sQ sQ s \
Q 2 sQ sQs
U sP! ) �TestHookz�Used in standard hook tests to collect any logged events.
Should be used in a with block to ensure that it has no impact
after the test completes.
c �R � S9% f QU m V m , U m P
U m P! )F� )�raise_on_events�exc_type�seen�closed)�selfr r s &&&�%C:\Python315\\Lib\test\audit-tests.py�__init__�TestHook.__init__ s% � �.�4�4�"��� �
��� ���� c �4 � [ O U 2 U ! �N)�sys�addaudithook�r
�as &*r � __enter__�TestHook.__enter__ s � �������r c �( � U O 2 P! r )�closer s &*r �__exit__�TestHook.__exit__ s � ��
�
�r c � � P U m P! )T)r �r
s &r r �TestHook.close# s � ���r c �T � U O Tt, tF D p] * MJ
to! t toh )� )r )r
�is & r �seen_events�TestHook.seen_events&