Sindbad~EG File Manager
�
'Μg- � � � d dl Z d dlZ eddg� Z G d� dej � Z G d� dej � Zedk( r ej � yy) � N�EDOM�ERANGEc � � e Zd Zd� Zd� Zy)�ErrnoAttributeTestsc �` � t D ]% }| j t t |� d|z � �' y )Nzerrno is missing %s)�std_c_errors�
assertTrue�hasattr�errno)�self�
error_codes �,/usr/local/lib/python3.12/test/test_errno.py�test_for_improper_attributesz0ErrnoAttributeTests.test_for_improper_attributes s* � �&�J��O�O�G�E�:�6�1�J�>�
@� '� c � � t j j � D ]% }| j t t |� d|z � �' y )Nzno %s attr in errno)r � errorcode�valuesr r
)r �values r �test_using_errorcodez(ErrnoAttributeTests.test_using_errorcode s6 � ��_�_�+�+�-�E��O�O�G�E�5�1�1�E�9�
;� .r N)�__name__�
__module__�__qualname__r r � r r r r
s
� �@�;r r c � � e Zd Zd� Zy)�ErrorcodeTestsc �� � t j j � D ]E }|j � s�| j t t |� t j d|z � �G y )Nzno %s attr in errno.errorcode)r �__dict__�keys�isupper�assertIn�getattrr )r � attributes r �test_attributes_in_errorcodez+ErrorcodeTests.test_attributes_in_errorcode sI � ����,�,�.�I�� � �"��
�
�g�e�Y�7����=� �I�K� /r N)r r r r# r r r r r s � �Kr r �__main__) r �unittest� frozensetr �TestCaser r r �mainr r r �<module>r) sa ���
� ��&�(�+�,��;�(�+�+� ;�K�X�&�&� K� �z���H�M�M�O� r
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists