Your IP : 3.15.225.188
3
� f � @ s� d Z ddlmZ ddlZG dd� dej�ZG dd� dej�ZG dd � d ej�ZG d
d� dej�ZG dd
� d
ej�Z e
dkr�ejdd� dS )zTest debugobj, coverage 40%.� )�debugobjNc @ s e Zd Zdd� ZdS )�ObjectTreeItemTestc C s: t jdd�}| j|jd� | j|jd� | j|jd � d S )N�label� )r ZObjectTreeItem�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
r r s r c @ s e Zd Zdd� ZdS )�ClassTreeItemTestc C s t jdd�}| j|j� � d S )Nr r )r Z
ClassTreeItem�
assertTrue�IsExpandable)r r r
r
r �test_isexpandable s z#ClassTreeItemTest.test_isexpandableN)r
r r r r
r
r
r r s r c @ s e Zd Zdd� ZdS )�AtomicObjectTreeItemTestc C s t jdd�}| j|j� � d S )Nr r )r ZAtomicObjectTreeItem�assertFalser )r r r
r
r r s z*AtomicObjectTreeItemTest.test_isexpandableN)r
r r r r
r
r
r r s r c @ s e Zd Zdd� Zdd� ZdS )�SequenceTreeItemTestc C s8 t jdf �}| j|j� � t jdd�}| j|j� � d S )Nr � )r )r �SequenceTreeItemr r r )r r r
r
r r s z&SequenceTreeItemTest.test_isexpandablec C s* t jdd�}| jt|j� �dddg� d S )Nr �abcr r � )r r r �list�keys)r r r
r
r � test_keys&