| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 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:/Python313/Lib/test/test_doctest/__pycache__/ |
Upload File : |
�
��iw � �@ � S r S rS rS rS rSrS rS rSS S
.rS r g)
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 � � g)z
>>> 2+2
5
>>> 2+2
4
N� r � �5C:\Python313\\Lib\test\test_doctest\sample_doctest.py�foor � � r c � � g)z
>>> 2+2
4
Nr r r r �barr r r c � � g)z_
>>> import test.test_doctest.test_doctest
>>> test.test_doctest.test_doctest.sillySetup
True
Nr r r r �test_silly_setupr r r c � � g)zN
>>> if 1:
... print('a')
... print()
... print('b')
a
<BLANKLINE>
b
Nr r r r �w_blankr
( r r � c � � g)z
>>> x
1
Nr r r r �x_is_oner 4 r r c � � g)z
>>> y
1
Nr r r r �y_is_oner : r r zG
>>> 42
42
zH
>>> 42
666
)�good�badc �* � SS K n U R 5 $ )N� )�doctest�DocTestSuite)r s r �
test_suiter J s � �����!�!r N)
�__doc__r r r r
�xr r �__test__r r r r �<module>r sE ������ � ������
��"r