관리-도구
편집 파일: test_delegator.cpython-37.opt-1.pyc
B � f � @ sD d Z ddlmZ ddlZG dd� dej�Zedkr@ejddd� dS ) zTest delegator, coverage 100%.� )� DelegatorNc @ s e Zd Zdd� ZdS )� DelegatorTestc C s� t t�}| �|jt� | �|jt� � | �t|j d� |j }| �|tj � | �|jd tj � | �|jdh� |j | �|jddh� |`| � d|j� |�t� | � d|j� | �|jt� � | �|jt� d S )NZxyz� bit_length� numerator)r �intZassertIsZdelegateZassertEqualZ_Delegator__cache�setZassertRaises�AttributeError�__getattr__r �__dict__r ZassertNotInZsetdelegate�float)�selfZmydelZbl� r �E/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_delegator.py� test_mydel s zDelegatorTest.test_mydelN)�__name__� __module__�__qualname__r r r r r r s r �__main__� )� verbosity�exit)�__doc__Zidlelib.delegatorr ZunittestZTestCaser r �mainr r r r �<module> s $