| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/idlelib/idle_test/__pycache__/ |
Upload File : |
�
���g� � � � d Z ddlZddlmZ ddlmZmZ ddlmZ G d� dej � Zedk( r ej d� � yy)
z"Test autocomplete_w, coverage 11%.� N)�requires)�Tk�Textc �2 � e Zd Zed� � Zed� � Zd� Zy)�AutoCompleteWindowTestc �� � t d� t � | _ | j j � t | j � | _ t
j | j
d �� | _ y )N�gui)�tags)r r �root�withdrawr �text�acw�AutoCompleteWindow��clss �:C:\Python312\\Lib\idlelib\idle_test\test_autocomplete_w.py�
setUpClassz!AutoCompleteWindowTest.setUpClass sI � �����4�������������>����(�(�����=��� c �x � | ` | `| j j � | j j � | `y �N)r
r r �update_idletasks�destroyr s r �
tearDownClassz$AutoCompleteWindowTest.tearDownClass s0 � ��H�c�g����!�!�#��������Hr c �d � | j | j j | j � y r )�assertEqualr �widgetr
)�selfs r � test_initz AutoCompleteWindowTest.test_init s � ���������$�)�)�4r N)�__name__�
__module__�__qualname__�classmethodr r r � r r r r
s- � ��>� �>� �� ��5r r �__main__� )� verbosity)�__doc__�unittest�test.supportr �tkinterr r �idlelib.autocomplete_w�autocomplete_wr �TestCaser r �mainr# r r �<module>r/ sC �� $� � !� � $�5�X�.�.� 5�* �z���H�M�M�A�� r