관리-도구
편집 파일: test_doctesting.cpython-37.pyc
B ��Fd* � @ s~ d Z ddlmZmZmZ dd� Zdd� Zdd� Zd d � Zdd� Z e d krzddlZddlm Z dedgZejjee � gd� dS )z9 Doctests for NumPy-specific nose/doctest modifications � )�division�absolute_import�print_functionc C s dS )zY >>> 2+2 <BadExample object at 0x084D05AC> #random: may vary on your system N� r r r ��/builddir/build/BUILDROOT/alt-python37-numpy-1.13.3-8.el8.x86_64/opt/alt/python37/lib64/python3.7/site-packages/numpy/testing/tests/test_doctesting.py�check_random_directive s r c C s dS )z4 >>> np.array([1,2,3]) array([1, 2, 3]) Nr r r r r �check_implicit_np s r c C s dS )zf # whitespace after the 3 >>> 1+2 3 # whitespace before the 7 >>> 3+4 7 Nr r r r r �check_whitespace_enabled s r c C s dS )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 r �check_empty_output s r c C s dS )zZ Check skip directive The test below should not run >>> 1/0 #doctest: +SKIP Nr r r r r � check_skip* s r �__main__N)�NumpyDoctest� z--with-numpydoctest)�argv� addplugins)�__doc__� __future__r r r r r r r r �__name__�noseZnumpy.testing.noseclassesr �__file__r �core�TestProgramr r r r �<module> s