File: //usr/local/lib/python3.7/test/__pycache__/sample_doctest.cpython-37.pyc
B
��g � @ 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 s dS )z+
>>> 2+2
5
>>> 2+2
4
N� r r r �//usr/local/lib/python3.7/test/sample_doctest.py�foo s r c C s dS )z
>>> 2+2
4
Nr r r r r �bar s r c C s dS )zU
>>> import test.test_doctest
>>> test.test_doctest.sillySetup
True
Nr r r r r �test_silly_setup s r c C s dS )zn
>>> if 1:
... print('a')
... print()
... print('b')
a
<BLANKLINE>
b
Nr r r r r �w_blank( s r � c C s dS )z
>>> x
1
Nr r r r r �x_is_one4 s r c C s dS )z
>>> y
1
Nr r r r r �y_is_one: s 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