o 6a@sddlZddlZddlmZddlmZejjedkddGdd d ej Z ejjedkddGd d d ej Z dS) N)util) assert_equalDarwinzVProne to error when run with numpy/f2py/tests on mac os, but not when run in isolation)reasonc@(eZdZdZdZdjedZddZdS) TestMultiline.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} modulecCt|jddSN*rr fooselfrG/usr/lib/python3/dist-packages/numpy/f2py/tests/test_semicolon_split.pytest_multilinezTestMultiline.test_multilineN)__name__ __module__ __qualname__suffix module_nameformatcoderrrrrrs rc@r)TestCallstatementr 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 cCr rrrrrrtest_callstatement>rz$TestCallstatement.test_callstatementN)rrrrrrrr!rrrrr#s r) platformpytestr numpy.testingrmarkskipifsystemF2PyTestrrrrrrs