
    &e                         d Z d Zd ZdS )zSimple example using doctests.

This file just contains doctests both using plain python and IPython prompts.
All tests should be loaded by Pytest.
c                      dS )zSome pure python tests...

    >>> pyfunc()
    'pyfunc'

    >>> import os

    >>> 2+3
    5

    >>> for i in range(3):
    ...     print(i, end=' ')
    ...     print(i+1, end=' ')
    ...
    0 1 1 2 2 3 
    pyfunc r       =lib/python3.11/site-packages/IPython/testing/plugin/simple.pyr   r      s	    " 8r   c                      dS )a  Some IPython tests...

    In [1]: ipyfunc()
    Out[1]: 'ipyfunc'

    In [2]: import os

    In [3]: 2+3
    Out[3]: 5

    In [4]: for i in range(3):
       ...:     print(i, end=' ')
       ...:     print(i+1, end=' ')
       ...:
    Out[4]: 0 1 1 2 2 3
    ipyfuncr   r   r   r   r   r      s	    " 9r   N)__doc__r   r   r   r   r   <module>r
      s7      (    r   