+
    CDj                        ^ RI t ^ RIt^ RIt^ RIt^ RIH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]P                  P                   ! R	 R
]	P                  4      4       t]P                  P                   ! R R]	P                  4      4       tR 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]P                  P                   ! R R]	P                  4      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]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# )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   & Z/data/cameron/venvs/s3viz/lib/python3.14/site-packages/numpy/f2py/tests/test_regression.py
test_inoutTestIntentInOut.test_inout   sp    IIarzz*3/j$++//15 IIarzz*{{1i((((     N)
__name__
__module____qualname____firstlineno__r   getpathsourcesr   __static_attributes____classdictcell____classdict__s   @r   r   r      s(      ||GUL+FGG) )r   r   c                   R   a  ] tR t^t o ]P
                  ! RRRR4      .tR 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&   r5   r'   r(   r)   s   @r   r,   r,      s(      ||GUL-HIG8 8r   r,   c                   R   a  ] tR t^(t o ]P
                  ! RRRR4      .tR 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)   s   @r   r8   r8   (   s)      ||GUL:QRSG6 6r   r8   c                   R   a  ] tR t^2t o ]P
                  ! RRRR4      .tR 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xhighrH   rvalexpvals   &      r   test_negbound TestNegativeBounds.test_negbound7   sp    yy}
	{{4 !5&"56  82RZZ0{{4((((r   r    N)
r!   r"   r#   r$   r   r%   r&   rR   r'   r(   r)   s   @r   rA   rA   2   s*      ||GU,=?PQRG) )r   rA   c                   R   a  ] tR t^Gt o ]P
                  ! RRRR4      .tR 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   
isinstancerW   strr   __version__r=   s   &r   test_numpy_version_attribute6TestNumpyVersionAttribute.test_numpy_version_attributeM   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)   s   @r   rU   rU   G   s*      ||GUL+FGG	D 	Dr   rU   c                      \         P                  P                  4       p \        P                  ! V 4      pR F  pW!9   d   K  Q h	  R# )fortranobject.cN)r_   zfortranobject.h)r   f2pyget_includeoslistdir)incdirfnames_in_dirfnames      r   test_include_pathrg   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R 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      @N)r   add)r   express   &  r   test_gh25344TestIncludeFiles.test_gh25344f   s%    kkooc3'zzr   r    N)r!   r"   r#   r$   r   r%   r&   optionsro   r'   r(   r)   s   @r   ri   ri   `   s^     ||GUL-HIGDLL%>?@!$,,w|"L!MNPG r   ri   c                   X   a  ] tR t^kt o ]P
                  ! RRRR4      .tR tR 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x2rn   s   &   r   test_gh26148TestF77Comments.test_gh26148p   ^    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   expectedrn   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)   s   @r   rs   rs   k   s-      ||GUL/JKG+ +r   rs   c                   R   a  ] tR t^}t o ]P
                  ! RRRR4      .tR tRtV t	R# )TestF90Continuationr   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# ru   rv   rz   s   &   r   test_gh26148b!TestF90Continuation.test_gh26148b   r   r   r    N)
r!   r"   r#   r$   r   r%   r&   r   r'   r(   r)   s   @r   r   r   }   s)      ||GUL:OPQG r   r   c                   R   a  ] tR t^t o ]P
                  ! RRRR4      .tR 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)   s   @r   r   r      s)      ||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%   RuntimeErrorrZ   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   )rq   r   unknown_subroutine_N)r   r   r%   ImportErrorrZ   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      ]P
                  ! RRRR4      .tRtR tRt	V t
R	# )
TestComplexStructCompatr   r   r   zcomplex_struct_compat.pyfzcomplex_struct_compat.f90_complex_struct_compat_testc                   \         P                  ! . RO\         P                  R7      pV P                  P	                  V4       \
        P                  ! VP                  . RO4       \
        P                  ! VP                  . RO4       R# )r   r   N)y      ?       @y      @      @y      @      @)        r   r   )g      ?rk   g      @)	r   rw   
complex128r   	zero_imagr   assert_array_equalimagreal)r   cs   & r    test_complex_struct_field_access8TestComplexStructCompat.test_complex_struct_field_access   sQ    HH-R]]Ca qvv7qvv7r   r    N)r!   r"   r#   r$   r   r%   r&   r   r   r'   r(   r)   s   @r   r   r      sE     
 	We\3NOWe\3NOG 0K8 8r   r   c                   R   a  ] tR t^t o ]P
                  ! RRRR4      .tR 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)   s   @r   r   r      s)      ||GUL:PQRG3 3r   r   )rb   platformr   numpyr   numpy.testingtestingr    r   markslowF2PyTestr   r,   r8   rA   rU   rg   ri   rs   r   r   r   skipifsystemr   r   r   r    r   r   <module>r      sH   	      )dmm ) ) 8dmm 8 8 6 6 6 ) ) )( D D D"& t}}   +dmm + +" 	$-- 	 	 dmm   	4 	4 HOO%2;ab2 c 2  8dmm 8 8  3 3 3r   