§
    €ÛgC  ã                   ó    — d Z d„ Zd„ Zd„ Zd„ Zd„ Zedk    r6ddlZdd	lm	Z	 d
e
dgZej                             e e	¦   «         g¬¦  «         dS dS )z9 Doctests for NumPy-specific nose/doctest modifications

c                  ó   — dS )zY
    >>> 2+2
    <BadExample object at 0x084D05AC>  #random: may vary on your system
    N© r   ó    úY/granary/edev/quantum/lib/python3.11/site-packages/numpy/testing/tests/test_doctesting.pyÚcheck_random_directiver      ó   € € € r   c                  ó   — dS )z4
    >>> np.array([1,2,3])
    array([1, 2, 3])
    Nr   r   r   r   Úcheck_implicit_npr	      r   r   c                  ó   — dS )zf
    # whitespace after the 3
    >>> 1+2
    3

    # whitespace before the 7
    >>> 3+4
     7
    Nr   r   r   r   Úcheck_whitespace_enabledr      r   r   c                  ó   — dS )a   Check that no output does not cause an error.

    This is related to nose bug 445; the numpy plugin changed the
    doctest-result-variable default and therefore hit this bug:
    http://code.google.com/p/python-nose/issues/detail?id=445

    >>> a = 10
    Nr   r   r   r   Úcheck_empty_outputr   !   r   r   c                  ó   — dS )zZ Check skip directive

    The test below should not run

    >>> 1/0 #doctest: +SKIP
    Nr   r   r   r   Ú
check_skipr   +   r   r   Ú__main__é    N)ÚNumpyDoctestÚ z--with-numpydoctest)ÚargvÚ
addplugins)Ú__doc__r   r	   r   r   r   Ú__name__ÚnoseÚnumpy.testing.noseclassesr   Ú__file__r   ÚcoreÚTestProgramr   r   r   ú<module>r      sÁ   ððð ðð ð ðð ð ð	ð 	ð 	ðð ð ðð ð ð ˆzÒÐà€K€K€KØ6Ð6Ð6Ð6Ð6Ð6Ø�Ð/Ð0€DØ„I×Ò˜t°°±´Ð0@ÐÑAÔAÐAÐAÐAð Ðr   