관리-도구
편집 파일: test_debugobj.cpython-37.pyc
B � 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 �dd�}| �|jd� | �|jd� | �|jd � d S )N�label� )r ZObjectTreeItem�assertEqualZ labeltext�objectZsetfunction)�self�ti� r �D/opt/alt/python37/lib64/python3.7/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 �dd�}| �|�� � 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 �dd�}| �|�� � 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 �dd�}| �|�� � t �dd�}| �|�� � d S )Nr r )� )r �SequenceTreeItemr r r )r r r r r r s z&SequenceTreeItemTest.test_isexpandablec C s* t �dd�}| �t|�� �dddg� d S )Nr �abcr r � )r r r �list�keys)r r r r r � test_keys&