+
   ɎDO                   6   ^ RI t ^ RIt^RIHt ] P
                  P                   ! R R]P                  4      4       t] P
                  P                   ! R R]P                  4      4       t	] P
                  P                   ! R R]P                  4      4       t
R# )	    N)utilc                   R   a  ] tR t^t o ]P
                  ! RRRR4      .tR tRtV t	R# )
TestStringtestssrcstringzchar.f90c                    \         P                  ! . RORR7      P                  pV P                  P                  P                  WP                  ^,          4      w  r#VP                  4       pRVR&   R# )abc)dtypeAAAN)r
   cdef)   :NNN)nparrayTmodule	char_testchange_stringsshapecopy)selfstringsinpoutexpecteds   &    A/usr/lib/python3.14/site-packages/numpy/f2py/tests/test_string.py	test_charTestString.test_char   sW    ((-S9;;;;((77]]1%' <<>     N)
__name__
__module____qualname____firstlineno__r   getpathsourcesr   __static_attributes____classdictcell____classdict__s   @r   r   r      s&     ||GUHjABG. .r!   r   c                   R   a  ] tR t^t o ]P
                  ! RRRR4      .tR tRtV t	R# )TestDocStringArgumentsr   r   r   zstring.fc                    \         P                  ! R 4      p\         P                  ! R 4      p\         P                  ! R4      p\         P                  ! R4      pV P                  P                  WW44       R# )s   123  s   123N)r   r   r   foo)r   abr   ds   &    r   test_example#TestDocStringArguments.test_example   sL    HHZ HHZ HHVHHVa#r!   r"   N)
r#   r$   r%   r&   r   r'   r(   r4   r)   r*   r+   s   @r   r.   r.      s&     ||GUHjABG% %r!   r.   c                   v   a  ] tR t^(t o ]P
                  ! RRRR4      .t]RR l4       tRR lt	R t
R	 tR
tV tR# )TestFixedStringr   r   r   zfixed_string.f90Nc           	     \   \        V \        P                  4      '       d   V P                  4       p M&\        V \        4      '       d   V P                  4       p Vf   \        V 4      p^ p\        V\        V\        V 4      4      4       F   pW0V,          ^
V,          ,          ,          pK"  	  V# )zwReturn the content of a string buffer as integer value.

For example:
  _sint('1234') -> 4321
  _sint('123A') -> 17321
)	
isinstancer   ndarraytobytesstrencodelenrangemin)sstartendijs   &&&  r   _sintTestFixedString._sint,   s     a$$		A3
A;a&Cuc#s1v./A1AA 0r!   c              #  F  "   VR9   d-   Rx  Rx  Rx  Rx  Rx  Rx  Rx  Rx  R	x  R
x  Rx  \         P                  ! R\         P                  RR7      x  \         P                  ! R4      x  \         P                  ! R4      x  \         P                  ! R4      x  \         P                  ! R	4      x  \         P                  ! R4      x  \         P                  ! R
4      x  \         P                  ! R4      x  \         P                  ! R4      x  R# 5i)in 1123412345r!          1   s   1 s   1234s   12345)buffers   123 NrI   r"   )r   r:   bytes_r   )r   intents   &&r   
_get_inputTestFixedString._get_input@   s     VHILMIKJLLMNjjRYYs33hhsmhhuohhtnhhvhhvhhwhhx  hhx  s   DD!c                    V P                  4        F1  pV P                  P                  V4      pV P                  V^R7      pK3  	  R# )   rC   N)rU   r   test_in_bytes4rF   )r   rA   rr   s   &   r   test_intent_inTestFixedString.test_intent_inW   s9    "A**1-Azz!z+H #r!   c                    V P                  R R7       FD  pV P                  V^R7      pV P                  P                  V4      pV P                  V^R7      pKF  	  R# )inout)rT   )rB   rY   N)rU   rF   r   test_inout_bytes4)r   rA   restr[   r   s   &    r   test_intent_inout!TestFixedString.test_intent_inout^   sO    0A::aq:)D--a0Azz!z+H 1r!   r"   )r   NrR   )r#   r$   r%   r&   r   r'   r(   staticmethodrF   rU   r\   rb   r)   r*   r+   s   @r   r7   r7   (   sC     ||GUH6HIJG &!.$2 2r!   r7   )pytestnumpyr   rJ   r   markslowF2PyTestr   r.   r7   r"   r!   r   <module>rj      s       
. 
. 
. %T]] % %" =2dmm =2 =2r!   