| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 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:/Python312/Lib/test/__pycache__/ |
Upload File : |
�
���g19 � �| � d dl Z d dlZd dlZ G d� d� Zd� Zd� Zd� Zd� Ze j d� � Z d � Z
d
� Zd� Zd� Z
d
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d � Z!d!� Z"e#d"k( r7d d#l$m%Z% e%� ejL d$ Z' e(� e' ejL d%d � yy)&� Nc �B � e Zd Z defd�Zd� Zd� Zd� Zed� � Z d� Z
y)�TestHookNc �D � |xs d| _ || _ g | _ d| _ y )N� F)�raise_on_events�exc_type�seen�closed)�selfr r s �%C:\Python312\\Lib\test\audit-tests.py�__init__zTestHook.__init__ s$ � �.�4�"��� ��
��� ���� c �0 � t j | � | S �N)�sys�addaudithook�r �as r � __enter__zTestHook.__enter__ s � �������r c �$ � | j � y r )�closer s r �__exit__zTestHook.__exit__ s � ��
�
�r c � � d| _ y )NT)r
�r s r r zTestHook.close! s � ���r c �F � | j D �cg c] }|d �� c}S c c}w )Nr )r )r �is r �seen_eventszTestHook.seen_events$ s"