File: D:/Python311/Lib/tkinter/test/test_tkinter/__pycache__/test_misc.cpython-311.pyc
�
��Vc^? � �� � d dl Z d dlZd dlZd dlZd dlmZ d dlmZmZ ej d� � G d� deej
� � Z G d� deej
� � Ze
d k r ej � � dS dS )
� N)�support)�AbstractTkTest�AbstractDefaultRootTest�guic �n � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� ZdS )�MiscTestc � � | � dt j � � | � dt j � � | � t j � � | � dt j � � | � dt j � � | � dt j � � | � dt j � � | � dt j � � d S )N�Widget�CASCADE�re�sys� constants�_tkerror�wantobjects)�assertIn�tkinter�__all__�assertIsNotNoner �assertNotIn)�selfs �7D:\Python311\Lib\tkinter\test\test_tkinter\test_misc.py�test_allzMiscTest.test_all s� � ��
�
�h���0�0�0��
�
�i���1�1�1����W�_�-�-�-�����w��/�/�/�������0�0�0�����g�o�6�6�6�����W�_�5�5�5�������8�8�8�8�8� c � � t j | j d�� � }t j |d�� � }| � t |� � d� � d S )N�top)�name�childz!<tkinter.Frame object .top.child>)r �Toplevel�root�Frame�assertEqual�repr)r �t�fs r � test_reprzMiscTest.test_repr sP � ���T�Y�U�3�3�3���M�!�'�*�*�*������a���"E�F�F�F�F�Fr c �f � t j | j � � }t j |� � }t j |� � }t j |� � }t |� � � d� � D ]8}| � |� � � t |� � �� � �9d S )N�.)�msg)
r r r r �Button�str�split�assertFalse�isidentifierr"