Your IP : 216.73.216.213


Current Path : /opt/alt/python35/lib64/python3.5/test/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/test/__pycache__/test_doctest2.cpython-35.opt-2.pyc



���]7	�@s�ddlZddlZddlmZejjdkrIejd��Gdd�de�Zdd�Z	dd	l
Ted
kr�e	�dS)�N)�support�zCannot test docstrings with -O2c@s�eZdZdd�Zdd�ZGdd�de�Zdd�Zd	d
�Ze	eedd�Z
ed
d��Ze
dd��ZdS)�CcCsdS)N�)�selfrr�2/opt/alt/python35/lib64/python3.5/test_doctest2.py�__init__"sz
C.__init__cCsdS)NZ42r)rrrr�__str__)sz	C.__str__c@seZdZdd�ZdS)zC.DcCsdS)Nr)rrrr�nested7sz
C.D.nestedN)�__name__�
__module__�__qualname__r
rrrr�D0srcCs|jS)N)�_x)rrrr�getx=szC.getxcCs
||_dS)N)r)r�valuerrr�setxFszC.setx�doczi        >>> c = C()    # 13
        >>> c.x = 12   # 14
        >>> print(c.x)  # 15
        -12
        cCsdS)Ni�rrrrr�statmVs
zC.statmcCs|S)Nr)�cls�valrrr�clsmbs
zC.clsmN)rrr
rr	�objectrrr�property�x�staticmethodr�classmethodrrrrrrs
			rcCsTddlm}d}tj|�\}}||krPtjd||f��dS)Nr)�
test_doctest2�z expected %d tests to run, not %d)�testrrZrun_doctestZ
TestFailed)rZEXPECTED�f�trrr�	test_mainns	r")�*�__main__)�sysZunittestrr�flags�optimizeZSkipTestrrr"�doctestrrrrr�<module>sZ