| Server IP : 121.121.20.254 / Your IP : 216.73.216.220 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 : |
�
��iO � �( � S r S rS rS rSS0rS rg)z�This is a sample module used for testing doctest.
This module includes various scenarios involving errors.
>>> 2 + 2
5
>>> 1/0
1
c � � / S g �N� � r � �<C:\Python313\\Lib\test\test_doctest\sample_doctest_errors.py�gr s � ��q�Er c � � g)zL
>>> 2 + 2
5
>>> 1/0
1
>>> def f():
... 2 + '2'
...
>>> f()
1
>>> g()
1
Nr r r r �errorsr
� � r c � � g)z
>>> 2+*3
5
Nr r r r �syntax_errorr
r r �badz?
>>> 2 + 2
5
>>> 1/0
1
c �* � SS K n U R 5 $ r )�doctest�DocTestSuite)r s r �
test_suiter , s � �����!�!r N)�__doc__r r
r
�__test__r r r r �<module>r s/ ���
�
��
�
���"r