Sindbad~EG File Manager
�
&Μgٌ � � � d dl Z d dlmZmZmZmZmZ d dlZd dl Z d dl
Z
d dlZd dlZd dl
Z
d dlZd dlZ G d� de� Z G d� de j$ � Ze G d� de j$ � � Z G d � d
e j$ � Z G d� de� Z G d
� de� Z G d� de� Z G d� de� Zd� Zd� Z G d� d� Z e� Z e� Z G d� de j$ � Z dZ!dZ"d� Z#d� Z$dZ% G d� de j$ � Z& G d � d!� Z'e G d"� d#e j$ � � Z(e G d$� d%e j$ � � Z) G d&� d'e j$ � Z*e+d(k( r e jX � yy# e$ r dZY ��`w xY w))� N)�cpython_only�requires_limited_api�
skip_on_s390x�is_wasi�Py_DEBUGc � � e Zd Zd� Zd� Zy)�BadStrc � � y)NT� )�self�others �+/usr/local/lib/python3.12/test/test_call.py�__eq__z
BadStr.__eq__ s � �� c �2 � t j | � dz S )N� )�str�__hash__�r s r r zBadStr.__hash__ s � ��|�|�D�!�A�%�%r N)�__name__�
__module__�__qualname__r r r r r r r s � ��&r r c � � e Zd Zd� Zd� Zy)�
FunctionCallsc � � t j ddg� }|j d� t |j � � }d� } |di |��}| j |t � | j t |j � � |� y )N)�a� )�b� r c � � | S �Nr )�kws r �fnz+FunctionCalls.test_kwargs_order.<locals>.fn s � ��Ir r )�collections�OrderedDict�move_to_end�list�items�assertIsInstance�dict�assertEqual)r �od�expectedr# �ress r �test_kwargs_orderzFunctionCalls.test_kwargs_order sp � �
�
$�
$�h��%9�
:��
���s������
�#�� � �h�2�h�����c�4�(�����c�i�i�k�*�H�5r c �Z � d� }t d� D ] } |d � �
y # t $ r Y �w xY w)Nc � � y r! r r r r �fzBFunctionCalls.test_frames_are_popped_after_failed_calls.<locals>.f* s � �r �� )�range� TypeError)r r2 �_s r �)test_frames_are_popped_after_failed_callsz7FunctionCalls.test_frames_are_popped_after_failed_calls'