https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/numpy/testing/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/numpy/testing/tests/__pycache__/test_doctesting.cpython-310.pyc
o

6��aC�@sndZdd�Zdd�Zdd�Zdd�Zd	d
�Zedkr5dd
lZddlm	Z	de
dgZejj
ee	�gd�d
Sd
S)z9 Doctests for NumPy-specific nose/doctest modifications

cC�dS)zY
    >>> 2+2
    <BadExample object at 0x084D05AC>  #random: may vary on your system
    N�rrr�E/usr/lib/python3/dist-packages/numpy/testing/tests/test_doctesting.py�check_random_directive�rcCr)z4
    >>> np.array([1,2,3])
    array([1, 2, 3])
    Nrrrrr�check_implicit_nprrcCr)zf
    # whitespace after the 3
    >>> 1+2
    3

    # whitespace before the 7
    >>> 3+4
     7
    Nrrrrr�check_whitespace_enabledrrcCr)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
    Nrrrrr�check_empty_output!rrcCr)zZ Check skip directive

    The test below should not run

    >>> 1/0 #doctest: +SKIP
    Nrrrrr�
check_skip+rr	�__main__�N)�NumpyDoctest�z--with-numpydoctest)�argv�
addplugins)�__doc__rrrrr	�__name__�nose�numpy.testing.noseclassesr�__file__r�core�TestProgramrrrr�<module>s
	
�

https://t.me/RX1948 - 2025