Sindbad~EG File Manager
�
&Μg�C � �d � d dl Z d dlmZ d dlmZ d dlmZmZmZ G d� dej � Z y)� N)�
cmp_to_key)� seq_tests)� ALWAYS_EQ�NEVER_EQ�C_RECURSION_LIMITc �� � � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zd� Z� fd�Zd� Zd� Zd� Zd� Zd� Z� fd�Z� fd�Zd� Zd� Zd� Z� xZS )�
CommonTestc �
� | j | j g � | j � � | j g d�� }|j � | j || j g � � | j g d�� }|j g d�� | j || j g d�� � | j |� }| j t |� t |� � | j ||� y )N�� � � )� � � )�assertEqual� type2test�__init__�assertNotEqual�id��self�a�bs �,/usr/local/lib/python3.12/test/list_tests.py� test_initzCommonTest.test_init s� � ��������+�T�^�^�-=�>�
�N�N�9�%�� �
�
������D�N�N�2�.�/�
�N�N�9�%�� �
�
�9������D�N�N�9�5�6�
�N�N�1������B�q�E�2�a�5�)�����A�� c �l � g }d}| j t |� 5 |d d d d � y # 1 sw Y y xY w)N�'list indices must be integers or slicesr ��assertRaisesRegex� TypeError�r r �msgs r �test_getitem_errorzCommonTest.test_getitem_error! s/ � ���7��
�
#�
#�I�s�
3�
�c�F� 4�
3�
3�� �*�3c �l � g }d}| j t |� 5 d|d<