%PDF- %PDF-
Direktori : /opt/plesk/python/2.7/lib64/python2.7/test/ |
Current File : //opt/plesk/python/2.7/lib64/python2.7/test/test_doctest2.pyo |
� 5}�ac @ s� d Z d d l Z d d l Z d d l m Z e j j d k rR e j d � � n d e f d � � YZ d � Z d d l Te d k r� e � n d S( u� A module to test whether doctest recognizes some 2.2 features, like static and class methods. >>> print 'yup' # 1 yup We include some (random) encoded (utf-8) text in the text surrounding the example. It should be ignored: ЉЊЈЁЂ i����N( t test_supporti s Cannot test docstrings with -O2t Cc B s{ e Z d Z d � Z d � Z d e f d � � YZ d � Z d � Z e e e d d �Z e d � � Z e d � � Z RS( u� Class C. >>> print C() # 2 42 We include some (random) encoded (utf-8) text in the text surrounding the example. It should be ignored: ЉЊЈЁЂ c C s d S( s: C.__init__. >>> print C() # 3 42 N( ( t self( ( s; /opt/plesk/python/2.7/lib64/python2.7/test/test_doctest2.pyt __init__# t c C s d S( s. >>> print C() # 4 42 t 42( ( R ( ( s; /opt/plesk/python/2.7/lib64/python2.7/test/test_doctest2.pyt __str__* s t Dc B s e Z d Z d � Z RS( sI A nested D class. >>> print "In D!" # 5 In D! c C s d S( s7 >>> print 3 # 6 3 N( ( R ( ( s; /opt/plesk/python/2.7/lib64/python2.7/test/test_doctest2.pyt nested8 R ( t __name__t __module__t __doc__R ( ( ( s; /opt/plesk/python/2.7/lib64/python2.7/test/test_doctest2.pyR 1 s c C s | j S( sf >>> c = C() # 7 >>> c.x = 12 # 8 >>> print c.x # 9 -12 ( t _x( R ( ( s; /opt/plesk/python/2.7/lib64/python2.7/test/test_doctest2.pyt getx>