+
    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                s   \         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# )i   Zdtype:NN   N)      r   )	nparangefloat32pytestZraisesZ
ValueErrormodulefooallclose)selfZx   & G/usr/lib64/python3.14/site-packages/numpy/f2py/tests/test_regression.py
test_inoutZTestIntentInOut.test_inout   sr     IIarzz*3/j$++//15 IIarzz*{{1i((((     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    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# )id   i  i  N)r   ZdatonlyZ	max_valueZdatZmax_Zsimple_subroutine)r   Zint_inr   r   	test_mdatZ!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   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                s    V P                   P                  ^
4      ^n8X  g   Q hV P                   P                  ^
4      ^8X  g   Q hR# )i
   N)r   Zno_type_subroutineZtype_subroutiner      &r   test_mtypesZ%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!   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\         P
                  ! WV4      '       g   Q hR# )i   c                 s     W,
          ^,           # )r	   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   )r   ZxvecZxlowZxhighr*   ZrvalZexpvals   &      r   test_negboundZ 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   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                s    \        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)Zhasattrr   Z
isinstancer-   strr
   Z__version__r&   r'   r   test_numpy_version_attributeZ6TestNumpyVersionAttribute.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!   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W!9   d   K  Q h	  R# )fortranobject.cN)r0   zfortranobject.h)r
   Zf2pyZget_includeosZlistdir)ZincdirZfnames_in_dirZfnames      r   test_include_pathr2   Y   s8    WW  "FJJv&M7%%% 8r   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                sR    R pV P                   P                  RR4      pW8X  g   Q hR# )g      @g      @g      @N)r   Zadd)r   Zexpres   &  r   test_gh25344ZTestIncludeFiles.test_gh25344e   s%    kkooc3'zzr   r   N)r   r   r   r   r    r   r   optionsr   r   r   r6   r   r    r!   r"   r   r3   r3   `   sr     ||GUL-HIGDLL%>?@!$,,w|"L!MNPG [[ r   r3   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V^ ,          ^8X  g   Q hV^,          ^8X  g   Q hR# r   r   Nr
   ZarrayZint32r   Ztestsubr   Zx1Zx2r4      &   r   test_gh26148ZTestF77Comments.test_gh26148o   ^    XXarxx(XXarxx(kk!!")1v{{1v||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expectedr4   r5   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>   rA   r   r    r!   r"   r   r8   r8   k   sV     ||GUL/JKG[[  [[+ +r   r8   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                r9   r:   r;   r<   r=   r   test_gh26148bZ TestF90Contiuation.test_gh26148b   r?   r   r   N)r   r   r   r   r    r   r   r   r   r   rD   r   r    r!   r"   r   rB   rB   ~   s9     ||GUL:OPQG[[ r   rB   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# )r   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   rF   r   r    r!   r"   r   rE   rE      s9     ||GUL:RSTG[[ r   rE   c                  s     \         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   rC   z	-lfoo.barBlah)module_namezlparen got assignN)r    build_moduler   ZRuntimeErrorr.   ZaaZrerr     r   test_gh26623rL      sY    4\\'5,8MNOM

  4"#d)3334s   26 A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\	        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 -Og"rG   )r7   rH   Zunknown_subroutine_N)r    rI   r   ZImportErrorr.   rJ   rK   r   test_gh25784rM      sc    2\\'5,8JKL 01
 
  2$D	1112s   37 A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                s    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# )i   N)r   Z	f_globalsZn_maxZi_maxZj_maxr&   r'   r   test_gh27167Z&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   rO   r   r    r!   r"   r   rN   rN      s;      ||GUL:PQRG[[3 3r   rN   )ZLinuxZDarwin)r1   Zplatformr   Znumpyr
   Znumpy.testingZtestingr@   Z r    ZF2PyTestr   r#   r%   r)   r,   r2   r3   r8   rB   rE   r   r   rL   ZskipifZsystemrM   rN   r   r   r   <module>rP      s>   	     )dmm ) 	8dmm 	86 6) )*D D$&	t}} 	+dmm +&
 
dmm  	4 	4 HOO%-@@Iop2 q 2  3 3 3r   