관리-도구
편집 파일: test_delegator.cpython-36.opt-1.pyc
3 � 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�}| j|jt� | j|jt� � | jt|j d� |j }| j|tj � | j|jd tj � | j|jdh� |j | j|jddh� |`| j d|j� |jt� | j d|j� | j|jt� � | j|jt� d S )NZxyz� bit_length� numerator)r �intZassertIsZdelegateZassertEqualZ_Delegator__cache�setZassertRaises�AttributeError�__getattr__r �__dict__r ZassertNotInZsetdelegate�float)�selfZmydelZbl� r �E/opt/alt/python36/lib64/python3.6/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 $