Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/numpy/f2py/tests/__pycache__/test_semicolon_split.cpython-37.pyc
Назад
B �5�g� � @ s� d dl Z d dlZddlmZ d dlmZ ejje �� dkdd�G dd � d ej ��Z ejje �� dkdd�G d d� dej ��ZdS )� N� )�util)�assert_equal�DarwinzVProne to error when run with numpy/f2py/tests on mac os, but not when run in isolation)�reasonc @ s( e Zd ZdZdZdjed�Zdd� ZdS )� TestMultilinez.pyf� multilinea python module {module} usercode ''' void foo(int* x) {{ char dummy = ';'; *x = 42; }} ''' interface subroutine foo(x) intent(c) foo integer intent(out) :: x end subroutine foo end interface end python module {module} )�modulec C s t | j�� d� d S )N�* )r r �foo)�self� r �[/home/digitalm-up/venv/lib/python3.7/site-packages/numpy/f2py/tests/test_semicolon_split.py�test_multiline s zTestMultiline.test_multilineN)�__name__� __module__�__qualname__�suffix�module_name�format�coder r r r r r s r c @ s( e Zd ZdZdZdjed�Zdd� ZdS )�TestCallstatementz.pyfZ callstatementav python module {module} usercode ''' void foo(int* x) {{ }} ''' interface subroutine foo(x) intent(c) foo integer intent(out) :: x callprotoargument int* callstatement {{ & ; & x = 42; & }} end subroutine foo end interface end python module {module} )r c C s t | j�� d� d S )Nr )r r r )r r r r �test_callstatement>