| Server IP : 121.121.20.254 / Your IP : 216.73.216.165 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�- c �* � Q s ] PHs] PHs] PHs] QHGs ] QHGs ] QHGs \ \Q2 % c \ \Q2 % f \O Q2 g\O Q2 s Q Q \O 2 s\Q
6X c \O 2 P! P! )z)Tests for sys.audit and sys.addaudithook
)�support)�
import_helper)� os_helper�addaudithook�auditz.test only relevant when sys.audit is availablezaudit-tests.pyc � ` � \ sQ s]s n Ps\O 2 Q 2 sQ sQP
-Q ks Q s
Q sQ sQ s
Q sQ
sQ sQ sQ
sQ sQ sQ sQ sQ sQ sQ s\O4 Q2 Q 2 sQ sQ sQ sQ sQ s Q s!Q s"Q s#Q s$Q s%Q! s&Q" s'\OP \OR Q# 2 2 s*Q$ s+Q% s,Q& s-Q's.U s/P! )(� AuditTestc �v � [ O [ O Q [ ,UNQQ[ O
[ O
Q5 9^tt^ 2 oUO
2 V"O O 2 UO O 2 1ttPPP2 ! ) % f h P! 9 h)z-X utf8zutf-8�backslashreplace)�encoding�errors�stdout�stderr)
�
subprocess�Popen�sys�
executable�AUDIT_TESTS_PY�PIPE�waitr �readr
)�self�args�ps &* �$C:\Python315\\Lib\test\test_audit.py�run_test_in_subprocess� AuditTest.run_test_in_subprocess s{ � �
�
�
�
�^�^�Y��>��>��%��?�?��?�?�
�
� �
�F�F�H��h�h�m�m�o�q�x�x�}�}��6�
�
�
�
�s �AB'�'B8 �0B8 c � � U O U v q#o[ O O U2 [ O O U2 UO
% c U O
U2 P! P! )N)r r r �writer
�
returncode�fail)r r �procr r
s &* r �do_test�AuditTest.do_test! sU � �#�:�:�D�A���f��
�
���� ��
�
���� ��?�?�?��I�I�f�� � �
expect_stderrc �H � , oU O U v qEoU% c [ O % c [ O O U2 UO UO 2 Tt, tF D! pwO 2 O Q 2 MJ# toU1! t toh )� )
r r �verboser r
r r �
splitlines�strip� partition)r r$ r �eventsr r r
�lines &$* r �
run_python�AuditTest.run_python) s| � ���#�:�:�D�A���f�������J�J���V�$��O�O�5;�5F�5F�5H�I�5H�T�Z�Z�\�
#�
#�C�
(�5H�I��
�
��Is �1)Bc �* � U O Q 2 P! )�
test_basic�r! �r s &r r0 �AuditTest.test_basic4 s � ����\�"r# c �* � U O Q 2 P! )�test_block_add_hookr1 r2 s &r r5 �AuditTest.test_block_add_hook7 s � ����*�+r# c �* � U O Q 2 P! )�!test_block_add_hook_baseexceptionr1 r2 s &r r8 �+AuditTest.test_block_add_hook_baseexception: s � ����8�9r# c �V � [ O Q 2 U O Q2 P! )�marshal�test_marshal�r �
import_moduler! r2 s &r r<