Sindbad~EG File Manager
�
'ΜgO� � �� � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dl� d dlm Z d dl
mZ d dlm
Z
d dlZ G d� dej � Z G d� d ej � Z G d
� dej � Z G d� d
ej � Z G d� dej � Z G d� dej � Z G d� de� Z G d� dej � Z G d� d� Z G d� deej � Z G d� d� Z G d� deej � Z G d� deej � Z G d � d!e
ej � Z G d"� d#ej � Ze d$k( r ejB � yy)%� N)�*)�support)� os_helper)�ExceptionIsLikeMixinc � � e Zd Zd� Zd� Zd� Zy)�TestAbstractContextManagerc �p � G d� dt � } |� }| j |j � |� y )Nc � � � e Zd Z� fd�Z� xZS )�;TestAbstractContextManager.test_enter.<locals>.DefaultEnterc � �� t �| � |� y �N��super�__exit__��self�args� __class__s ��1/usr/local/lib/python3.12/test/test_contextlib.pyr zDTestAbstractContextManager.test_enter.<locals>.DefaultEnter.__exit__ � �� ��� �$�'� ��__name__�
__module__�__qualname__r �
__classcell__�r s @r �DefaultEnterr �
�� �
(�
(r r )�AbstractContextManager�assertIs� __enter__)r r �managers r �
test_enterz%TestAbstractContextManager.test_enter s/ � � (�1� (� �.���
�
�g�'�'�)�7�3r c � � G d� dt � }| j t � 5 |� d d d � y # 1 sw Y y xY w)Nc � � e Zd Zy)�ETestAbstractContextManager.test_exit_is_abstract.<locals>.MissingExitN�r r r � r r �MissingExitr'