python (3.11.7)
    e^                     z   d dl Z d dlmZmZmZmZmZmZ d dlZd dl	m
Z
 d dlZd dlZd dl
mZ  e
j        d           d Zd Z G d	 d
ej                  Z G d dej                  Z G d
 dej                  Z G d deej                  Z G d dej                  Zedk    r ej                     dS dS )    N)asynccontextmanagerAbstractAsyncContextManagerAsyncExitStacknullcontextaclosingcontextmanager)support)TestBaseExitStackT)modulec                 H     	 t          j                    fd            }|S )Nc                  @     | i |}t          j        |           d S N)asynciorun)argskwargscorofuncs      N/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_contextlib_async.pywrapperz_async_test.<locals>.wrapper   s-    tT$V$$D    )	functoolswraps)r   r   s   ` r   _async_testr      s;    ?_T     Nr   c                  .    t          j        d            d S r   )r   set_event_loop_policy r   r   tearDownModuler      s    !$'''''r   c                   F    e Zd Zed             Zed             Zd Zd ZdS )TestAbstractAsyncContextManagerc                 &  K    G d dt                     } |            }|                     |                                 d {V |           |4 d {V }|                     ||           d d d           d {V  d S # 1 d {V swxY w Y   d S )Nc                        e Zd Z fdZ xZS )@TestAbstractAsyncContextManager.test_enter.<locals>.DefaultEnterc                 D   K    t                      j        |  d {V  d S r   super	__aexit__selfr   	__class__s     r   r'