File: //opt/alt/python312/lib64/python3.12/test/__pycache__/test_structseq.cpython-312.opt-2.pyc
�
~h�e� � � � d dl Z d dlZd dlZd dlZd dlZ G d� dej
� Zedk( r ej � yy)� Nc �r � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zd� Zy)�
StructSeqTestc �p � t j � }| j |t � t |� }| j t |� t |� � | j ||� t
t |� t |� � D ]V }| j ||d ||d � t
t |� t |� � D ] }| j ||| ||| � � �X t
t |� t |� � D ] }| j |d | |d | � � | j t |j t |� dz
� | j t |j t |� � t
t |� t |� dz
� D ] }| j || || � � y �N� )
�time�gmtime�assertIsInstance�tuple�assertEqual�len�range�assertRaises�
IndexError�__getitem__)�self�t�astuple�i�js �:/opt/alt/python312/lib64/python3.12/test/test_structseq.py�
test_tuplezStructSeqTest.test_tuple
s~ � ��K�K�M�����a��'���(������Q���W��.�����G�$� ��A��w��A��'� 7�A����Q�q�r�U�G�A�B�K�0��C��F�7�C��F�+�
7��� � ��1�Q����1��6�
7� 7�
��A��w��A��'� 1�A����Q�r��U�G�B�Q�K�0� 1�
���*�a�m�m�c�!�f�W�Q�Y�?����*�a�m�m�S��V�<���A��w��A��q��)� /�A����Q�q�T�7�1�:�.� /� c � � t j � }| j t |� � t j d� }| j t |� d� t j t � }t |� }| j |j d� � | j d|� | j d|� | j d|� y )Nr zttime.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=0)zos.stat_resultzst_mode=zst_ino=zst_dev=)
r r �
assertTrue�reprr �os�stat�__file__�
startswith�assertIn)r r �st�reps r � test_reprzStructSeqTest.test_repr s� � ��K�K�M������Q�� ��K�K��N������a��
D� E� �W�W�X�
���2�h��������'7�8�9��
�
�j�#�&��
�
�i��%��
�
�i��%r c �� � t j � }|t |� z }t t |� � D ]&