File: //usr/local/lib/python3.10/test/__pycache__/sample_doctest.cpython-310.pyc
o
�i � @ 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 �0/usr/local/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
)ZgoodZbadc C s dd l } | �� S )N� )�doctestZDocTestSuite)r
r r r �
test_suiteJ s r N)
�__doc__r r r r �xr
r Z__test__r r r r r �<module> s
�