File: //opt/alt/python312/lib64/python3.12/test/__pycache__/test_errno.cpython-312.opt-2.pyc
�
�h�e- � � � 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 �6/opt/alt/python312/lib64/python3.12/test/test_errno.py�test_for_improper_attributesz0ErrnoAttributeTests.test_for_improper_attributes s1 � �&� @�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 s; � ��_�_�+�+�-� ;�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 sP � ����,�,�.� K�I�� � �"��
�
�g�e�Y�7����=� �I�K� Kr 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