%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/
Upload File :
Create Path :
Current File : //opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pyc

�
�9Zc@`s�dZddlmZmZmZd�Zd�Zd�Zd�Zd�Z	e
dkr�dd	lZdd
lm
Z
dedgZejjd
ede
�g�nd	S(s9 Doctests for NumPy-specific nose/doctest modifications

i(tdivisiontabsolute_importtprint_functioncC`sdS(sY
    >>> 2+2
    <BadExample object at 0x084D05AC>  #random: may vary on your system
    N((((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_random_directivescC`sdS(s4
    >>> np.array([1,2,3])
    array([1, 2, 3])
    N((((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_implicit_npscC`sdS(sf
    # whitespace after the 3
    >>> 1+2
    3

    # whitespace before the 7
    >>> 3+4
     7
    N((((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_whitespace_enabledscC`sdS(s 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
    N((((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_empty_output scC`sdS(sZ Check skip directive

    The test below should not run

    >>> 1/0 #doctest: +SKIP
    N((((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pyt
check_skip*st__main__N(tNumpyDoctestts--with-numpydoctesttargvt
addplugins(t__doc__t
__future__RRRRRRRRt__name__tnosetnumpy.testing.noseclassesR	t__file__RtcoretTestProgram(((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pyt<module>s				
		

Zerion Mini Shell 1.0