Your IP : 216.73.216.213


Current Path : /opt/alt/python311/lib64/python3.11/test/test_tools/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/test/test_tools/__pycache__/test_pdeps.cpython-311.opt-1.pyc

�

�0�iJ���dZddlZddlZddlZddlmZmZe��Gd�dej��Ze	dkrej
��dSdS)z2Tests for the pdeps script in the Tools directory.�N)�skip_if_missing�import_toolc�0�eZdZed���Zd�Zd�ZdS)�
PdepsTestsc�.�td��|_dS)N�pdeps)rr��selfs �A/opt/alt/python311/lib64/python3.11/test/test_tools/test_pdeps.py�
setUpClasszPdepsTests.setUpClasss�� ��)�)��
�
�
�c�R�tj��5}tj�|d��}t|dd���5}|�d��ddd��n#1swxYwY|j�|i��ddd��dS#1swxYwYdS)N�foo�wzutf-8)�encodingz#!/this/will/fail)	�tempfile�TemporaryDirectory�os�path�join�open�writer�process)r
�tmpdir�fn�streams    r�test_process_errorszPdepsTests.test_process_errorss��
�
(�
*�
*�	'�f�����f�e�,�,�B��b�#��0�0�0�
2�F����0�1�1�1�
2�
2�
2�
2�
2�
2�
2�
2�
2�
2�
2����
2�
2�
2�
2��J���r�2�&�&�&�		'�	'�	'�	'�	'�	'�	'�	'�	'�	'�	'�	'����	'�	'�	'�	'�	'�	's5�3B�A)�B�)A-	�-B�0A-	�1B�B �#B c�>�|j�dgi��dS)N�a)r�inverser	s r�test_inverse_attribute_errorz'PdepsTests.test_inverse_attribute_errors"���
���C��9�%�%�%�%�%r
N)�__name__�
__module__�__qualname__�classmethodrrr!�r
rrrsK�������*�*��[�*�'�'�'�&�&�&�&�&r
r�__main__)�__doc__r�unittestr�test.test_toolsrr�TestCaserr"�mainr&r
r�<module>r-s���8�8�	�	�	�	���������8�8�8�8�8�8�8�8������&�&�&�&�&��"�&�&�&�&�z����H�M�O�O�O�O�O��r