File: D:/Python311/Lib/idlelib/idle_test/__pycache__/test_help_about.cpython-311.pyc
�
��Vc� � �h � d Z ddlmZ ddlZddlmZmZ ddlmZm Z ddl
mZ ddlm
Z
ddlmZ ddlZdd lmZ ej Z G d
� dej � � Z G d� d
ej � � Z G d� dej � � Z G d� d� � Z G d� dej � � Zedk r ej d�� � dS dS )z�Test help_about, coverage 100%.
help_about.build_bits branches on sys.platform='darwin'.
'100% combines coverage on Mac and others.
� )�
help_aboutN)�requires�findfile)�Tk�TclError)�Func)� Mbox_func)�textview)�python_versionc �\ � e Zd ZdZed� � � Zed� � � Zd� Zd� Zd� Z d� Z
d� Zd S )
�LiveDialogTestzmSimulate user clicking buttons other than [Close].
Test that invoked textview has text from source.
c � � t d� � t � � | _ | j � � � t | j dd�� � | _ d S �N�gui�
About IDLET��_utest�r r �root�withdraw�About�dialog��clss �5D:\Python311\Lib\idlelib\idle_test\test_help_about.py�
setUpClasszLiveDialogTest.setUpClass �H � �������4�4�����������3�8�\�$�?�?�?��
�
�
� c �r � | ` | j � � � | j � � � | `d S �N�r r �update_idletasks�destroyr s r �
tearDownClasszLiveDialogTest.tearDownClass �8 � ��J���!�!�#�#�#���������H�H�Hr c �T � | � t j � � d� � d S )N)�32�64)�assertInr �
build_bits��selfs r �test_build_bitszLiveDialogTest.test_build_bits&