| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 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 : |
�
���g5Q � � � d dl mZmZ d dlZd dlZd dlZdZdZ G d� dej � Z e
dk( r ej � yy)� )�support� seq_testsNFc �4 � � e Zd ZeZd� Z� fd�Zd� Zd� Z� fd�Z � fd�Z
� fd�Z� fd�Zd � Z
d
� Zd� Zd� Zd
� Zd� Zej( d� � Zd� Zej( d� � Zej( d� � Zej( d� � Zd� Zd� Zd� Zd� Zd� Z� xZS )� TupleTestc �l � d}d}| j t |� 5 |d d d d � y # 1 sw Y y xY w)N� z(tuple indices must be integers or slices�a)�assertRaisesRegex� TypeError)�self�t�msgs �$C:\Python312\\Lib\test\test_tuple.py�test_getitem_errorzTupleTest.test_getitem_error s/ � ���8��
�
#�
#�I�s�
3�
�c�F� 4�
3�
3�s �*�3c �� �� t �| � � | j t � d� d}t |� }| j ||u � | j t g � d� | j t g d�� d� | j t d� d� | j t d� d� | j t d� t d� D � � d� y ) Nr )r � � � � �spam)�s�pr �mc 3 �, K � | ] }|d z s� |�� � y�w)r Nr )�.0�xs r � <genexpr>z.TupleTest.test_constructors.<locals>.<genexpr>&