+
    ei5  c                   s   ^ 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9  RR7      R 4       4       t]P*                  P,                   ! R R]	P                  4      4       tR# )i    N)utilc                   s   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                sB   \         P                  ! ^\         P                  R7      R,          p\        P                  ! \
        V P                  P                  V4       \         P                  ! ^\         P                  R7      pV P                  P                  V4       R# )i   Zdtype:NNi   N)nparangefloat32pytestZraisesZ
ValueErrormodulefoo)selfZx   & G/usr/lib64/python3.14/site-packages/numpy/f2py/tests/test_regression.py
test_inoutZTestIntentInOut.test_inout   s[     IIarzz*3/j$++//15 IIarzz*     N)__name__
__module____qualname____firstlineno__r    getpathsourcesr
   markslowr   __static_attributes____classdictcell__Z__classdict__   @r   r   r      s8     ||GUL+FGG[[) )r   r   c                   s   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                s
    ^pR# )i   Nr   )r   Zint_inr   r   	test_mdatZ!TestDataOnlyMultiModule.test_mdat    s	     r   r   N)r   r   r   r   r    r   r   r
   r   r   r    r   r   r   r   r   r   r      s8     ||GUL-HIG[[8 8r   r   c                   s   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                    R # Nr   r      &r   test_mtypesZ%TestModuleWithDerivedType.test_mtypes,       r   r   N)r   r   r   r   r    r   r   r
   r   r   r&   r   r   r   r   r   r!   r!   (   s9     ||GUL:QRSG[[6 6r   r!   c                   s   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   Znegative_boundszissue_20853.f90c           
     s    \         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R# )i   c                 s     W,
          ^,           # )   r   )ZxlZxhs   &&r   uboundZ0TestNegativeBounds.test_negbound.<locals>.ubound?   s    7Q;r   N)Zis_Zie_Zarrr   i)r   r   r   r   r	   )r   ZxvecZxlowZxhighr*   ZrvalZexpvals   &      r   test_negboundZ TestNegativeBounds.test_negbound6   s[    yy}
	{{4 !5&"56  82RZZ0r   r   N)r   r   r   r   r    r   r   r
   r   r   r+   r   r   r   r   r   r(   r(   2   s:     ||GU,=?PQRG[[) )r   r(   c                   s   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                r"   r#   r   r$   r%   r   test_numpy_version_attributeZ6TestNumpyVersionAttribute.test_numpy_version_attributeL   r'   r   r   N)r   r   r   r   r    r   r   r
   r   r   r-   r   r   r   r   r   r,   r,   G   s<      ||GUL+FGG[[	D 	Dr   r,   c                  s    \         P                  P                  4       p \        P                  ! V 4      pR F  pK  	  R# )fortranobject.cN)r.   zfortranobject.h)r   Zf2pyZget_includeosZlistdir)ZincdirZfnames_in_dirZfnames      r   test_include_pathr0   Y   s*    WW  "FJJv&M77r   c                   s   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                sB    R pV P                   P                  RR4      pR# )g      @g      @g      @N)r   Zadd)r   Zexpres   &  r   test_gh25344ZTestIncludeFiles.test_gh25344e   s    kkooc3'r   r   N)r   r   r   r   r    r   r   optionsr
   r   r   r4   r   r   r   r   r   r1   r1   `   sr     ||GUL-HIGDLL%>?@!$,,w|"L!MNPG [[ r   r1   c                   s   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R#    r   Nr   ZarrayZint32r   Ztestsubr   Zx1Zx2r2      &   r   test_gh26148ZTestF77Comments.test_gh26148o   >    XXarxx(XXarxx(kk!!")r   c                s    \         P                  ! ^^\         P                  R7      ^,          pV P                  P	                  4       p\
        P                  ! W4       R# )r)   r   N)r   r   r	   r   Ztestsub2nptZassert_allclose)r   Zexpectedr2   r3   r   test_gh26466Z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   r   r   r6   r6   k   sV     ||GUL/JKG[[  [[+ +r   r6   c                   s   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                r7   r8   r:   r;   r<   r   test_gh26148bZ TestF90Contiuation.test_gh26148b   r>   r   r   N)r   r   r   r   r    r   r   r
   r   r   rC   r   r   r   r   r   rA   rA   ~   s9     ||GUL:OPQG[[ r   rA   c                   s   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                s<    V P                   P                  ^4       R# )r9   N)r   Zinquire_nextr$   r%   r   test_gh28014Z$TestLowerF2PYDirectives.test_gh28014   s      #r   r   N)r   r   r   r   r    r   r   r
   r   r   rE   r   r   r   r   r   rD   rD      s9     ||GUL:RSTG[[ r   rD   c                  s     \         P                  ! \         P                  ! R RRR4      .R.RR7      p R#   \         d   p Rp?R# Rp?ii ; i)r   r   r   rB   z	-lfoo.barBlah)module_nameN)r    build_moduler   ZRuntimeErrorZaaZrerr     r   test_gh26623rK      sL    4\\'5,8MNOM

  4 4 4s   26 AAz$Unsupported on this platform for now)Zreasonc                  s     \         P                  ! \         P                  ! R RRR4      .RR.RR7      p R#   \         d   p Rp?R# Rp?ii ; i)	r   r   r   zf77fixedform.f95z--f77flags='-ffixed-form -O2'z--f90flags="-ffixed-form -Og"rF   )r5   rG   N)r    rH   r   ZImportErrorrI   rJ   r   test_gh25784rL      sV    2\\'5,8JKL 01
 
  2 2 2s   37 AAc                   s   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                r"   r#   r   r$   r%   r   test_gh27167Z&TestAssignmentOnlyModules.test_gh27167   r'   r   r   N)r   r   r   r   r    r   r   r
   r   r   rN   r   r   r   r   r   rM   rM      s;      ||GUL:PQRG[[3 3r   rM   )ZLinuxZDarwin)r/   Zplatformr
   Znumpyr   Znumpy.testingZtestingr?   Z r    ZF2PyTestr   r   r!   r(   r,   r0   r1   r6   rA   rD   r   r   rK   ZskipifZsystemrL   rM   r   r   r   <module>rO      s>   	     )dmm ) 	8dmm 	86 6) )*D D$&	t}} 	+dmm +&
 
dmm  	4 	4 HOO%-@@Iop2 q 2  3 3 3r   