o
    >~#gR                     @   sn   d dl mZ d dlZd dlZddlmZ d dlmZ d dlm	Z	 ej
je	ddej
jG d	d
 d
ejZdS )    )PathN   )util)crackfortran)IS_WASMzCannot start subprocess)reasonc                   @   s6   e Zd ZeddddgZddgZdd Zd	d
 ZdS )TestAbstractInterfacetestssrcabstract_interfacezfoo.f90add1add2c                 C   s   | j jdddksJ d S )N      )      )module
ops_modulefoo)self r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/numpy/f2py/tests/test_abstract_interface.pytest_abstract_interface   s   z-TestAbstractInterface.test_abstract_interfacec                 C   sh   t dddd}tt|g}t|dksJ t|d d dks$J |d d d d d	ks2J d S )
Nr	   r
   r   zgh18403_mod.f90r   r   bodyblockzabstract interface)r   getpathr   strlen)r   fpathmodr   r   r   test_parse_abstract_interface   s   
 z3TestAbstractInterface.test_parse_abstract_interfaceN)	__name__
__module____qualname__r   r   sourcesskipr   r    r   r   r   r   r   	   s
    r   )pathlibr   pytesttextwrap r   
numpy.f2pyr   numpy.testingr   markskipifslowF2PyTestr   r   r   r   r   <module>   s    