Your IP : 3.15.225.188


Current Path : /opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/test_debugobj.cpython-36.pyc

3

� f�@s�dZddlmZddlZGdd�dej�ZGdd�dej�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�Z	e
dkr�ejdd�dS)zTest debugobj, coverage 40%.�)�debugobjNc@seZdZdd�ZdS)�ObjectTreeItemTestcCs:tjdd�}|j|jd�|j|jd�|j|jd�dS)N�label�)rZObjectTreeItem�assertEqualZ	labeltext�objectZsetfunction)�self�ti�r
�D/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_debugobj.py�	test_init	szObjectTreeItemTest.test_initN)�__name__�
__module__�__qualname__rr
r
r
rrsrc@seZdZdd�ZdS)�ClassTreeItemTestcCstjdd�}|j|j��dS)Nrr)rZ
ClassTreeItem�
assertTrue�IsExpandable)rr	r
r
r�test_isexpandablesz#ClassTreeItemTest.test_isexpandableN)r
rrrr
r
r
rrsrc@seZdZdd�ZdS)�AtomicObjectTreeItemTestcCstjdd�}|j|j��dS)Nrr)rZAtomicObjectTreeItem�assertFalser)rr	r
r
rrsz*AtomicObjectTreeItemTest.test_isexpandableN)r
rrrr
r
r
rrsrc@seZdZdd�Zdd�ZdS)�SequenceTreeItemTestcCs8tjdf�}|j|j��tjdd�}|j|j��dS)Nr�)r)r�SequenceTreeItemrrr)rr	r
r
rr sz&SequenceTreeItemTest.test_isexpandablecCs*tjdd�}|jt|j��dddg�dS)Nr�abcrr�)rrr�list�keys)rr	r
r
r�	test_keys&szSequenceTreeItemTest.test_keysN)r
rrrrr
r
r
rrsrc@seZdZdd�Zdd�ZdS)�DictTreeItemTestcCs<tjdi�}|j|j��tjdddi�}|j|j��dS)Nrr)r�DictTreeItemrrr)rr	r
r
rr-sz"DictTreeItemTest.test_isexpandablecCs.tjddddd��}|j|j�dddg�dS)Nrrrr)rrr)rrrr)rr	r
r
rr3szDictTreeItemTest.test_keysN)r
rrrrr
r
r
rr+sr�__main__r)�	verbosity)�__doc__ZidlelibrZunittestZTestCaserrrrrr
�mainr
r
r
r�<module>s	



?>