| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.10/test/__pycache__/ |
Upload File : |
o
�9j � @ sN d Z dd� Zdd� Zdd� Zdd� Zd Zd
d� Zdd
� Zddd�Zdd� Z dS )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 C � dS )z+
>>> 2+2
5
>>> 2+2
4
N� r r r �*/usr/lib/python3.10/test/sample_doctest.py�foo � r c C r )z
>>> 2+2
4
Nr r r r r �bar r r c C r )zU
>>> import test.test_doctest
>>> test.test_doctest.sillySetup
True
Nr r r r r �test_silly_setup r r c C r )zn
>>> if 1:
... print('a')
... print()
... print('b')
a
<BLANKLINE>
b
Nr r r r r �w_blank( r r � c C r )z
>>> x
1
Nr r r r r �x_is_one4 r r
c C r )z
>>> y
1
Nr r r r r �y_is_one: r r zG
>>> 42
42
zH
>>> 42
666
)�good�badc C s dd l } | �� S )N� )�doctest�DocTestSuite)r r r r �
test_suiteJ s r N)
�__doc__r r r r �xr
r �__test__r r r r r �<module> s
�