U
    O8c_                     @   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   D/tmp/pip-unpacked-wheel-fd_gsd75/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   