python (3.12.0)
͑e @ d Z d Zd Zd Zd ZdZd Zd Zdd d
Zd Z y)
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 y)z+
>>> 2+2
5
>>> 2+2
4
N r G/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/sample_doctest.pyfoor r c y)z
>>> 2+2
4
Nr r r r barr r r c y)zU
>>> import test.test_doctest
>>> test.test_doctest.sillySetup
True
Nr r r r test_silly_setupr r r c y)zn
>>> if 1:
... print('a')
... print()
... print('b')
a
<BLANKLINE>
b
Nr r r r w_blankr
( r r c y)z
>>> x
1
Nr r r r x_is_oner 4 r r c y)z
>>> y
1
Nr r r r y_is_oner : r r zG
>>> 42
42
zH
>>> 42
666
)goodbadc * dd l } | j S )N )doctestDocTestSuite)r s r
test_suiter J s !!r N)
__doc__r r r r
xr r __test__r r r r <module>r sE
"r