관리-도구
편집 파일: test_abstract_interface.cpython-311.pyc
� �܋f@ � � � d dl mZ d dlZd dlZddlmZ d dlmZ d dlm Z ej � e d�� � G d � d ej � � � � Z dS )� )�PathN� )�util)�crackfortran)�IS_WASMzCannot start subprocess)�reasonc �J � e Zd Z ej dddd� � gZddgZd� Zd� Zd S ) �TestAbstractInterface�tests�src�abstract_interfacezfoo.f90�add1�add2c �R � | j j � dd� � dk sJ �d S )N� � )� � )�module� ops_module�foo)�selfs �{/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/f2py/tests/test_abstract_interface.py�test_abstract_interfacez-TestAbstractInterface.test_abstract_interface s. � ��{�%�)�)�!�Q�/�/�7�:�:�:�:�:�:� c �$ � t j dddd� � }t j t |� � g� � }t |� � dk sJ �t |d d � � dk sJ �|d d d d d k sJ �d S ) Nr r r zgh18403_mod.f90r r �body�blockzabstract interface)r �getpathr �str�len)r �fpath�mods r �test_parse_abstract_interfacez3TestAbstractInterface.test_parse_abstract_interface s� � ���W�e�-A�.�0� 0���'��U����5�5���3�x�x�1�}�}�}�}��3�q�6�&�>�"�"�a�'�'�'�'��1�v�f�~�a� ��)�-A�A�A�A�A�A�Ar N) �__name__� __module__�__qualname__r r �sources�skipr r$ � r r r r s\ � � � � � ��t�|�G�U�,@�)�L�L�M�G��F��D�;� ;� ;�B� B� B� B� Br r )�pathlibr �pytest�textwrap� r � numpy.f2pyr � numpy.testingr �mark�skipif�F2PyTestr r* r r �<module>r4 s� �� � � � � � � � � � � ���� � � � � � � #� #� #� #� #� #� !� !� !� !� !� !� ����G�$=��>�>�B� B� B� B� B�D�M� B� B� ?�>�B� B� Br