| Server IP : 121.121.20.254 / Your IP : 216.73.216.144 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
>lqjO c �, � Q s Q sQ sQ sQQ-sQ sP! )z�This is a sample module used for testing doctest.
This module includes various scenarios involving errors.
>>> 2 + 2
5
>>> 1/0
1
c � � , ] * P! �� � r � �<C:\Python315\\Lib\test\test_doctest\sample_doctest_errors.py�gr s � ��q�E�Er c � � P! )zL
>>> 2 + 2
5
>>> 1/0
1
>>> def f():
... 2 + '2'
...
>>> f()
1
>>> g()
1
r r r r �errorsr � � r c � � P! )z
>>> 2+*3
5
r r r r �syntax_errorr r
r �badz?
>>> 2 + 2
5
>>> 1/0
1
c �, � ] PHo U O 2 ! r )�doctest�DocTestSuite)r s r �
test_suiter , s � �����!�!r )�__doc__r r r �__test__r r r r �<module>r s/ ���
�
��
�
���"r