| Server IP : 121.121.20.254 / Your IP : 216.73.216.142 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/test/test_doctest/__pycache__/ |
Upload File : |
R
>lqj� c �� � Q s ] PHs] PHs\O O ]6� c \O
Q2 g Q Q\2 s Q Q\O 2 s ] QH*3 \Q6X c \O 2 P! P! )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:
ЉЊЈЁЂ
zCannot test docstrings with -O2c � ` � \ sQ s]s n QsQ sQ s Q Q\2 sQ s Q s
\ \ \
QQ 5 s\
Q
2 s\Q 2 sQsU sP! )
�Cu� 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 � � P! )z#C.__init__.
>>> print(C()) # 3
42
� ��selfs &�4C:\Python315\\Lib\test\test_doctest\test_doctest2.py�__init__�
C.__init__! � � � c � � Q! )z
>>> print(C()) # 4
42
�42r r s &r �__str__� C.__str__( s � �
r c �, ` � \ sQ s]/s n QsQ sQsU sP! )�C.Dz2A nested D class.
>>> print("In D!") # 5
In D!
c � � P! )z
>>> print(3) # 6
3
r r s &r �nested�
C.D.nested6 r
r r )�__name__�
__module__�__qualname__�__firstlineno__�__doc__r �__static_attributes__�__classdictcell__��
__classdict__s @r �Dr / s �� � � � � r r c � � U O '