+
    Qi&                        ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^RIH	t	  ! R R]	P                  4      t ! R R]	P                  4      t ! R R]	P                  4      t ! R	 R
]	P                  4      t ! R R]	P                  4      tR t ! R R]	P                  4      t ! R R]	P                  4      t ! R R]	P                  4      t ! R R]	P                  4      t]P*                  P,                  R 4       t]P*                  P,                  ]P*                  P1                  ]P2                  ! 4       R8H  RR7      R 4       4       t]P*                  P,                   ! R R]	P                  4      4       tR# )    N)utilc                      a  ] tR t^t o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestIntentInOuttestssrc
regression	inout.f90c                   \         P                  ! ^\         P                  R7      R,          p\        P                  ! \
        V P                  P                  V4       \         P                  ! ^\         P                  R7      pV P                  P                  V4       \         P                  ! V. RO4      '       g   Q hR# )   dtype:NN   N)      r   )	nparangefloat32pytestraises
ValueErrormodulefooallclose)selfxs   & f/Users/mibo/.openclaw/workspace/.venv/lib/python3.14/site-packages/numpy/f2py/tests/test_regression.py
test_inoutTestIntentInOut.test_inout   sr     IIarzz*3/j$++//15 IIarzz*{{1i((((     N)__name__
__module____qualname____firstlineno__r   getpathsourcesr   markslowr   __static_attributes____classdictcell____classdict__s   @r   r   r      s8     ||GUL+FGG[[) )r   r   c                      a  ] tR t^t o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestDataOnlyMultiModuler   r   r   zdatonly.f90c                    V P                   P                  P                  ^d8X  g   Q hV P                   P                  P                  R8X  g   Q h^pV P                   P                  ^4      R8X  g   Q hR# )d   i  i  N)r   datonly	max_valuedatmax_simple_subroutine)r   int_ins   & r   	test_mdat!TestDataOnlyMultiModule.test_mdat    s^    {{"",,333{{##t+++{{,,Q/4777r   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   r7   r)   r*   r+   s   @r   r.   r.      s8     ||GUL-HIG[[8 8r   r.   c                      a  ] tR t^(t o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestModuleWithDerivedTyper   r   r   zmod_derived_types.f90c                    V P                   P                  ^
4      ^n8X  g   Q hV P                   P                  ^
4      ^8X  g   Q hR# )
   N)r   no_type_subroutinetype_subroutiner   s   &r   test_mtypes%TestModuleWithDerivedType.test_mtypes,   s<    {{--b1S888{{**2.#555r   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   r@   r)   r*   r+   s   @r   r:   r:   (   s9     ||GUL:QRSG[[6 6r   r:   c                      a  ] tR t^2t o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestNegativeBoundsr   r   negative_boundszissue_20853.f90c           
        \         P                  ! ^4      pRp^pR pV P                  P                  W#VRV! W#4       R7      p\         P                  ! ^\         P                  R7      p\         P
                  ! WV4      '       g   Q hR# )   c                      W,
          ^,           # )r   r    )xlxhs   &&r   ubound0TestNegativeBounds.test_negbound.<locals>.ubound?   s    7Q;r   N)is_ie_arrr   i)r   r   r   r   r   r   )r   xvecxlowxhighrJ   rvalexpvals   &      r   test_negbound TestNegativeBounds.test_negbound6   sp    yy}
	{{4 !5&"56  82RZZ0{{4((((r   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   rT   r)   r*   r+   s   @r   rC   rC   2   s:     ||GU,=?PQRG[[) )r   rC   c                      a  ] tR t^Gt o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestNumpyVersionAttributer   r   r   r	   c                    \        V P                  R 4      '       g   Q h\        V P                  P                  \        4      '       g   Q h\
        P                  V P                  P                  8X  g   Q hR# )__f2py_numpy_version__N)hasattrr   
isinstancerY   strr   __version__r?   s   &r   test_numpy_version_attribute6TestNumpyVersionAttribute.test_numpy_version_attributeL   sY     t{{$<==== $++<<cBBBB ~~!C!CCCCr   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   r^   r)   r*   r+   s   @r   rW   rW   G   s<      ||GUL+FGG[[	D 	Dr   rW   c                      \         P                  P                  4       p \        P                  ! V 4      pR F  pW!9   d   K  Q h	  R# )fortranobject.cN)ra   zfortranobject.h)r   f2pyget_includeoslistdir)incdirfnames_in_dirfnames      r   test_include_pathri   Y   s8    WW  "FJJv&M7%%% 8r   c                      a  ] tR t^`t o ]P
                  ! RRRR4      .tR]P
                  ! RRR4       2R]P
                  ! RRR4       2.t]P                  P                  R 4       tRtV tR	# )
TestIncludeFilesr   r   r   zincfile.f90z-Iz--include-paths c                R    R pV P                   P                  RR4      pW8X  g   Q hR# )g      @g      @g      @N)r   add)r   express   &  r   test_gh25344TestIncludeFiles.test_gh25344e   s%    kkooc3'zzr   r    N)r!   r"   r#   r$   r   r%   r&   optionsr   r'   r(   rp   r)   r*   r+   s   @r   rk   rk   `   sr     ||GUL-HIGDLL%>?@!$,,w|"L!MNPG [[ r   rk   c                      a  ] tR t^kt o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
]P                  P                  R 4       tRtV tR# )	TestF77Commentsr   r   r   zf77comments.fc                   \         P                  ! ^\         P                  R7      p\         P                  ! ^\         P                  R7      pV P                  P	                  W4      pV^ ,          ^8X  g   Q hV^,          ^8X  g   Q hR# r   r   Nr   arrayint32r   testsubr   x1x2ro   s   &   r   test_gh26148TestF77Comments.test_gh26148o   ^    XXarxx(XXarxx(kk!!")1v{{1v||r   c                    \         P                  ! ^^\         P                  R7      ^,          pV P                  P	                  4       p\
        P                  ! W4       R# )r   r   N)r   r   r   r   testsub2nptassert_allclose)r   expectedro   s   &  r   test_gh26466TestF77Comments.test_gh26466w   s?     99Q"**59kk""$H*r   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   r~   r   r)   r*   r+   s   @r   rt   rt   k   sV     ||GUL/JKG[[  [[+ +r   rt   c                      a  ] tR t^~t o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestF90Contiuationr   r   r   f90continuation.f90c                   \         P                  ! ^\         P                  R7      p\         P                  ! ^\         P                  R7      pV P                  P	                  W4      pV^ ,          ^8X  g   Q hV^,          ^8X  g   Q hR# rv   rw   r{   s   &   r   test_gh26148b TestF90Contiuation.test_gh26148b   r   r   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   r   r)   r*   r+   s   @r   r   r   ~   s9     ||GUL:OPQG[[ r   r   c                      a  ] tR t^t o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestLowerF2PYDirectivesr   r   r   zlower_f2py_fortran.f90c                <    V P                   P                  ^4       R# )r   N)r   inquire_nextr?   s   &r   test_gh28014$TestLowerF2PYDirectives.test_gh28014   s      #r   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   r   r)   r*   r+   s   @r   r   r      s9     ||GUL:RSTG[[ r   r   c                       \         P                  ! \         P                  ! R RRR4      .R.RR7      p R#   \         d   pR\	        T4      9  g   Q h Rp?R# Rp?ii ; i)	r   r   r   r   z	-lfoo.barBlah)module_namezlparen got assignN)r   build_moduler%   RuntimeErrorr\   aarerrs     r   test_gh26623r      sY    4\\'5,8MNOM

  4"#d)3334s   26 AAAWindowsz$Unsupported on this platform for now)reasonc                       \         P                  ! \         P                  ! R RRR4      .RR.RR7      p R	#   \         d   pR\	        T4      9   g   Q h R	p?R	# R	p?ii ; i)
r   r   r   zf77fixedform.f95z--f77flags='-ffixed-form -O2'z--f90flags="-ffixed-form -g"r   )rr   r   unknown_subroutine_N)r   r   r%   ImportErrorr\   r   s     r   test_gh25784r      sc    2\\'5,8JKL 00
 
  2$D	1112s   37 AAAc                      a  ] tR t^t o ]P
                  ! RRRR4      .t]P                  P                  R 4       t
RtV tR# )TestAssignmentOnlyModulesr   r   r   zassignOnlyModule.f90c                    V P                   P                  P                  ^8X  g   Q hV P                   P                  P                  ^8X  g   Q hV P                   P                  P                  ^H8X  g   Q hR# )   N)r   	f_globalsn_maxi_maxj_maxr?   s   &r   test_gh27167&TestAssignmentOnlyModules.test_gh27167   s\    %%++r121%%++r121%%++r121r   r    N)r!   r"   r#   r$   r   r%   r&   r   r'   r(   r   r)   r*   r+   s   @r   r   r      s;      ||GUL:PQRG[[3 3r   r   )rd   platformr   numpyr   numpy.testingtestingr    r   F2PyTestr   r.   r:   rC   rW   ri   rk   rt   r   r   r'   r(   r   skipifsystemr   r   r    r   r   <module>r      s=   	     )dmm ) 	8dmm 	86 6) )*D D$&	t}} 	+dmm +&
 
dmm  	4 	4 HOO%2;ab2 c 2  3 3 3r   