Current File : //usr/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pyc
�
E�`Qc@s�dZd�Zd�Zd�Zd�Zd�Zedkr�ddlZdd	lm	Z	d
e
dgZejj
ded
e	�g�ndS(s8 Doctests for NumPy-specific nose/doctest modifications
cCsdS(sY
    >>> 2+2
    <BadExample object at 0x084D05AC>  #random: may vary on your system
    N((((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_random_directivescCsdS(s4
    >>> np.array([1,2,3])
    array([1, 2, 3])
    N((((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_implicit_npscCsdS(sf
    # whitespace after the 3
    >>> 1+2
    3

    # whitespace before the 7
    >>> 3+4
     7
    N((((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_whitespace_enabledscCsdS(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((((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pytcheck_empty_outputscCsdS(sZ Check skip directive

    The test below should not run

    >>> 1/0 #doctest: +SKIP
    N((((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pyt
check_skip'st__main__i����N(tNumpyDoctestts--with-numpydoctesttargvt
addplugins(t__doc__RRRRRt__name__tnosetnumpy.testing.noseclassesRt__file__RtcoretTestProgram(((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_doctesting.pyt<module>s