Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/sample_doctest.cpython-311.pyc |
�
�Ke � �B � d Z d� Zd� Zd� Zd� ZdZd� Zd� Zdd d
�Zd� 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 � � dS )z+
>>> 2+2
5
>>> 2+2
4
N� r � �=/usr/local/apps/python3/lib/python3.11/test/sample_doctest.py�foor � � � � r c � � dS )z
>>> 2+2
4
Nr r r r �barr r r c � � dS )zU
>>> import test.test_doctest
>>> test.test_doctest.sillySetup
True
Nr r r r �test_silly_setupr r r c � � dS )zn
>>> if 1:
... print('a')
... print()
... print('b')
a
<BLANKLINE>
b
Nr r r r �w_blankr
( r r � c � � dS )z
>>> x
1
Nr r r r �x_is_oner 4 r r c � � dS )z
>>> y
1
Nr r r r �y_is_oner : r r zG
>>> 42
42
zH
>>> 42
666
)�good�badc �2 � dd l } | � � � S )N� )�doctest�DocTestSuite)r s r �
test_suiter J s � ��N�N�N����!�!�!r N)
�__doc__r r r r
�xr r �__test__r r r r �<module>r s� ��� �� � �� � �� � � � � � ��� � �� � ���
�
��"� "� "� "� "r