File: D:/Python311/Lib/idlelib/idle_test/__pycache__/test_squeezer.cpython-311.opt-1.pyc
�
��Vc�N � �^ � d Z ddlmZ ddlmZmZ ddlZddlmZm Z m
Z
mZmZ ddl
mZ ddlmZ ddlmZ dd lmZmZmZ dd
lmZ ddlmZ ddlmZ ej Zd
� Z G d� dej � � Z G d� dej � � Z! G d� dej � � Z"e#dk r ej$ d�� � dS dS )zTest squeezer, coverage 95%� )�dedent)�Text�TkN)�Mock�NonCallableMagicMock�patch�sentinel�ANY)�requires)�idleConf)�
Percolator)�count_lines_with_wrapping�ExpandingButton�Squeezer)�macosx)� view_text)�Hovertipc � �� t d� � t � � ��� � � �fd�}| � |� � �S )z*Helper for tests: Create a root Tk object.�guic �X �� � � � � � � � � d S �N)�update_idletasks�destroy��roots ��3D:\Python311\Lib\idlelib\idle_test\test_squeezer.py�cleanup_rootz&get_test_tk_root.<locals>.cleanup_root s&