Sindbad~EG File Manager
�
'Μg� � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ G d� dej � Z e
dk( r ej � yy)� N)�
script_helperc �x � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� 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 �0/usr/local/lib/python3.12/test/test_structseq.py�
test_tuplezStructSeqTest.test_tuple sj � ��K�K�M�����a��'���(������Q���W��.�����G�$� ��A��w��A��'�A����Q�q�r�U�G�A�B�K�0��C��F�7�C��F�+��� � ��1�Q����1��6� ,� (�
��A��w��A��'�A����Q�r��U�G�B�Q�K�0� (�
���*�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"