Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_tix.cpython-311.pyc
�

�Ke1��8�ddlZddlZddlmZddlmZddlmZedd���rejd���ejd��Z	ej
d	��ejd
d���Zddlm
Z
Gd
�dej��Zedkrej��dSdS)�N)�support)�
import_helper)�check_sanitizerT)�address�memoryz6Tests involvin libX11 can SEGFAULT on ASAN/MSAN builds�_tkinter�guiztkinter.tix)�
deprecated)�TclErrorc��eZdZd�Zd�ZdS)�TestTixc�6�	t���|_|�|jj��dS#t
$rMtj�d��r|�	d��|�
d��YdSwxYw)N�winz)Tix should always be available on WindowszTix not available)�tix�Tk�root�
addCleanup�destroyr�sys�platform�
startswith�fail�skipTest��selfs �7/usr/local/apps/python3/lib/python3.11/test/test_tix.py�setUpz
TestTix.setUps���	/������D�I�
�O�O�D�I�-�.�.�.�.�.���	/�	/�	/��|�&�&�u�-�-�
G��	�	�E�F�F�F��M�M�-�.�.�.�.�.�.�	/���s�A�AB�Bc��dS)N�rs r�test_tix_availablezTestTix.test_tix_available"s����N)�__name__�
__module__�__qualname__rr rr!rr
r
s2������/�/�/�
�
�
�
�
r!r
�__main__)r�unittest�testr�test.supportrr�SkipTest�
import_moduler�requiresr�tkinterr�TestCaser
r"�mainrr!r�<module>r/s ��
�
�
�
�����������&�&�&�&�&�&�(�(�(�(�(�(��?�4��-�-�-�V�
�(�
�T�
U�
U�U�'�=�&�z�2�2���������"�m�!�-�D�A�A�A��������
�
�
�
�
�h��
�
�
�"�z����H�M�O�O�O�O�O��r!