U
    ¸mœd_  ã                   @   sN   d dl Z d dlZd dlZd dlZddlmZ d dlmZ G dd„ dejƒZ	dS )é    Né   )Úutil)ÚIS_PYPYc                   @   sL   e Zd Ze dddd¡gZejje	j
dkdd�ejjedd�d	d
„ ƒƒZdS )ÚTestModuleDocStringÚtestsÚsrcZmodule_datazmodule_data_docstring.f90Úwin32z)Fails with MinGW64 Gfortran (Issue #9673))Úreasonz,PyPy cannot modify tp_doc after PyType_Readyc                 C   s   | j jjt d¡kst‚d S )Nzó                     i : 'i'-scalar
                     x : 'i'-array(4)
                     a : 'f'-array(2,3)
                     b : 'f'-array(-1,-1), not allocated 
                     foo()

                     Wrapper for ``foo``.

)ÚmoduleÚmodÚ__doc__ÚtextwrapÚdedentÚAssertionError)Úself© r   úY/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/numpy/f2py/tests/test_module_doc.pyÚtest_module_docstring   s    z)TestModuleDocString.test_module_docstringN)Ú__name__Ú
__module__Ú__qualname__r   ZgetpathÚsourcesÚpytestÚmarkZskipifÚsysÚplatformZxfailr   r   r   r   r   r   r   
   s   
ÿÿÿÿr   )
Úosr   r   r   Ú r   Znumpy.testingr   ZF2PyTestr   r   r   r   r   Ú<module>   s   