File: D:/Python311/Lib/idlelib/idle_test/__pycache__/test_autoexpand.cpython-311.opt-1.pyc
�
��Vc� � � � d Z ddlmZ ddlZddlmZ ddlmZmZ G d� d� � Z G d� d ej
� � Zed
k r ej
d�� � dS dS )
zTest autoexpand, coverage 100%.� )�
AutoExpandN)�requires)�Text�Tkc � � e Zd Zd� ZdS )�DummyEditwinc � � || _ d S �N)�text)�selfr s �5D:\Python311\Lib\idlelib\idle_test\test_autoexpand.py�__init__zDummyEditwin.__init__ s
� ��� � � � N)�__name__�
__module__�__qualname__r � r r
r r s# � � � � � �� � � � r r c �^ � e Zd Zed� � � Zed� � � Zd� Zd� Zd� Zd� Z d� Z
d� Zd S )
�AutoExpandTestc �� � t d� � t � � | _ t | j � � | _ t t
| j � � � � | _ d� | j _ d S )N�guic � � d S r
r r r r
�<lambda>z+AutoExpandTest.setUpClass.<locals>.<lambda> s � �t� r ) r r �tkr r r r �auto_expand�bell��clss r
�
setUpClasszAutoExpandTest.setUpClass sR � ��������������<�<���$�\�#�(�%;�%;�<�<���+�|�����r c �h � | ` | `t | d� � r| j � � � | `d S d S )Nr )r r �hasattrr �destroyr s r
�
tearDownClasszAutoExpandTest.tearDownClass'