| Server IP : 121.121.20.254 / Your IP : 216.73.217.1 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
>lqjw c �F � Q s Q sQ sQ sQ s]sQ sQ sQQQ Q
-sQ s P! )a This is a sample module that doesn't really test anything all that
interesting.
It simply has a few tests, some of which succeed and some of which fail.
It's important that the numbers remain constant as another test is
testing the running of these tests.
>>> 2+2
4
c � � P! )z
>>> 2+2
5
>>> 2+2
4
� r � �5C:\Python315\\Lib\test\test_doctest\sample_doctest.py�foor � � r c � � P! )z
>>> 2+2
4
r r r r �barr r r c � � P! )z_
>>> import test.test_doctest.test_doctest
>>> test.test_doctest.test_doctest.sillySetup
True
r r r r �test_silly_setupr
r r c � � P! )zN
>>> if 1:
... print('a')
... print()
... print('b')
a
<BLANKLINE>
b
r r r r �w_blankr ( r r c � � P! )z
>>> x
1
r r r r �x_is_oner 4 r r c � � P! )z
>>> y
1
r r r r �y_is_oner : r r �goodzG
>>> 42
42
�badzH
>>> 42
666
c �, � ] PHo U O 2 ! )� )�doctest�DocTestSuite)r s r �
test_suiter J s � �����!�!r )
�__doc__r r r
r �xr r �__test__r r r r �<module>r sO ������ � ����
� �
� �
��"r