Format: application/x-python-code
1 o
2
3 ��h� � @ s d Z dd� Zdd� ZdS )z�Simple example using doctests.
4
5 This file just contains doctests both using plain python and IPython prompts.
6 All tests should be loaded by Pytest.
7 c C � dS )z�Some pure python tests...
8
9 >>> pyfunc()
10 'pyfunc'
11
12 >>> import os
13
14 >>> 2+3
15 5
16
17 >>> for i in range(3):
18 ... print(i, end=' ')
19 ... print(i+1, end=' ')
20 ...
21 0 1 1 2 2 3
22 �pyfunc� r r r �Sc:\Users\shubh\Videos\agent\nova\Lib\site-packages\IPython/testing/plugin/simple.pyr � r c C r )a Some IPython tests...
23
24 In [1]: ipyfunc()
25 Out[1]: 'ipyfunc'
26
27 In [2]: import os
28
29 In [3]: 2+3
30 Out[3]: 5
31
32 In [4]: for i in range(3):
33 ...: print(i, end=' ')
34 ...: print(i+1, end=' ')
35 ...:
36 Out[4]: 0 1 1 2 2 3
37 �ipyfuncr r r r r r r r N)�__doc__r r r r r r �<module> s