+
   /f	%\p                   ^   ^ RI t ^ RIt^ RIt^ RIHt ^ RIt^ RIt^ RIH	t
 ^RIHt ]P                  P                  tRs]! R(R]P$                  ! R4      /]
B t	R tR tR	 tR
 t ! R R4      t]! 4       t. R)OtRR./t]R,          R.,           ]R&   ]R,          R.,           ]R&   R.]R&   R.]R&   ]R,          RR.,           ]R&   ]R,          RR.,           ]R&   ]R,          RR.,           ]R&   ]R,          RR.,           ]R&   ]R,          R.,           ]R&   ]R,          R.,           ]R&   ]R,          R.,           ]R&   ]R,          R.,           ]R&   ]R,          RR.,           ]R&   ]R,          . R*O,           ]R&   ]R,          R.,           ]R&   R.]R&   R.]R&   R.]R&   ]P6                  ! 4       P$                  P8                  ^8w  g+   ]P:                  ! 4       P$                  P<                  ^8:  d   ]P                  R+9  dz   ]P>                  ! 4       ]P@                  ! 4       3R,8w  dS   ]PC                  . R-O4       ]R,          . R.O,           ]R&   ]R,          . R/O,           ]R&   ]R,          RR.,           ]R&    ! R  R!4      t" ! R" R#4      t# ! R$ R%4      t$ ! R& R'4      t%R# )0    N)Path)c_names_dict)util	CHARACTERcc                  p    \        \        4      P                  4       P                  R ,          p V R,          # )srcarray_from_pyobj)r   __file__resolveparent)testroots    K/usr/lib/python3.14/site-packages/numpy/f2py/tests/test_array_from_pyobj.pyget_testdirr      s+    H~%%'..6H(((    c                 n    \         f-   \        4       R,          .p \        P                  ! V RR7      s R# R# )z.
Build the required testing extension module

Nzwrapmodule.ctest_array_from_pyobj_ext)module_name)wrapr   r   build_meson)r	   s    r   setup_moduler      s4     |MN*
 1LM	 r   c                 P    \         P                  V 4      ^,          p\        V4      # )   )r   array_attrsflags2names)arrflagss   & r   
flags_infor   *   s"    S!!$Eur   c                     . pR F=  p\        V 4      \        \        V^ 4      ,          '       g   K,  VP                  V4       K?  	  V# )
CONTIGUOUS)r    FORTRANOWNDATA
ENSURECOPYENSUREARRAYALIGNED
NOTSWAPPED	WRITEABLEWRITEBACKIFCOPYUPDATEIFCOPYBEHAVED
BEHAVED_ROCARRAYFARRAY)absgetattrr   append)r   infoflagnames   &  r   r   r   /   s@    D  u:h222KK!#$ Kr   c                   J   a  ] tR t^Ft o . 3R ltR tR tR tR tR t	Rt
V tR# )	Intentc                    VR ,          V n         ^ pV FO  pVR8X  d   V\        P                  ,          pK#  V\        \        RVP	                  4       ,           4      ,          pKQ  	  W n        R# ):NNNoptionalF2PY_INTENT_N)intent_listr   F2PY_OPTIONALr/   upperr   )selfr8   r   is   &&  r   __init__Intent.__init__G   sW    &q>AJ+++~	'ABB	 
 
r   c                z    VP                  4       pVR 8X  d   RpV P                  V P                  V.,           4      # )in_in)lower	__class__r8   )r;   names   &&r   __getattr__Intent.__getattr__Q   s5    zz|5=D~~d..$788r   c                @    R RP                  V P                  4       R2# )zintent(,))joinr8   r;   s   &r   __str__Intent.__str__W   s!    $"2"234A66r   c                $    R V P                   : R2# )zIntent(rI   r8   rK   s   &r   __repr__Intent.__repr__Z   s    )),A..r   c                x   a  \         ;QJ d    V 3R  lV 4       F  '       d   K   R# 	  R# ! V 3R  lV 4       4      # )c              3   @   <"   T F  qSP                   9   x  K  	  R # 5iNrO   ).0rD   r;   s   & r   	<genexpr>#Intent.is_intent.<locals>.<genexpr>^   s     >4+++s   FT)allr;   namess   f*r   	is_intentIntent.is_intent]   s,    s>>ss>s>s>>>>r   c                t    \        V P                  4      \        V4      8H  ;'       d    V P                  ! V!  # rT   )lenr8   r[   rY   s   &*r   is_intent_exactIntent.is_intent_exact`   s-    4##$E
2MMt~~u7MMr   )r   r8   N)__name__
__module____qualname____firstlineno__r=   rE   rL   rP   r[   r_   __static_attributes____classdictcell____classdict__s   @r   r4   r4   F   s-     #% 97/?N Nr   r4   BOOLBYTEUBYTESHORTUSHORTINTUINTLONGULONGLONGLONG	ULONGLONGFLOATDOUBLECFLOATSTRING1STRING5
LONGDOUBLECDOUBLECLONGDOUBLEc                   T   a  ] tR t^t o / tR tR tR tR tR t	R t
R tR tR	tV tR
# )Typec                   \        V\        P                  4      '       dX   TpR p\        P	                  4        F;  w  r4\        V\
        4      '       d   K  VP
                  VP
                  J g   K9  Tp M	  V P                  P                  VP                  4       R 4      pVe   V# \        P                  V 4      pVP                  V4       WPP                  VP                  4       &   V# rT   )
isinstancenpdtyper   itemstype_type_cachegetr:   object__new___init)clsrD   dtype0nr<   objs   &&    r   r   Type.__new__   s    dBHH%%FD$**,!!T**v{{aff/DD - oo!!$**,5?JnnS!		$(+

%
r   c                l   VP                  4       V n        V P                  R 8X  dQ   \        V P                  ,          p\        P                  V n        ^V n        \        P                  ! R4      V n        EMV P                  P                  R4      '       d   \        V P                  R,          ,          p\        P                  V n        \        V P                  R,          ;'       g    ^ 4      V n        \        P                  ! RV P                   24      V n        Ms\        V P                  ,          p\        \        RV P                  ,           4      V n        VP                  V n        \        P                  ! VP                  4      V n        VP                  V n        VP                  V n        R# )r   r   STRING:Nr   N:r   NNSNPY_N)r:   NAMEr   r   
NPY_STRINGtype_numelsizer   r   
startswithintr/   itemsizer   char	dtypechar)r;   rD   r1   s   && r   r   
Type._init   s   JJL	99#		*D OODMDK#DJYY!!(++		".D OODMdiim00q1DKAdkk]"34DJ		*D#D&499*<=DM--DK$)),DJ II	r   c                    R V P                    RV P                   RV P                   RV P                   RV P                   RV P
                   2# )zType(z)|type_num=z, dtype=z, type=z	, elsize=z, dtypechar=)r   r   r   r   r   r   rK   s   &r   rP   Type.__repr__   sV    		{+dmm_ =** &9T[[M :"nn-/ 	0r   c                v    \         V P                  ,           Uu. uF  qP                  V4      NK  	  up# u upi rT   )
_cast_dictr   rC   r;   _ms   & r   
cast_typesType.cast_types   s,    -7		-BC-Brr"-BCCCs   6c                T    \          Uu. uF  qP                  V4      NK  	  up# u upi rT   )_type_namesrC   r   s   & r   	all_typesType.all_types   s!    -89[rr"[999s   %c                    \         V P                  ,          P                  p. p\         F;  p\         V,          P                  V8  g   K!  VP	                  \        V4      4       K=  	  V# rT   r   r   	alignmentr   r0   r}   r;   bitstypesrD   s   &   r   smaller_typesType.smaller_types   O    DII&00DD!++d2T$Z(   r   c                    \         V P                  ,          P                  p. p\         FM  pW0P                  8X  d   K  \         V,          P                  V8X  g   K3  VP	                  \        V4      4       KO  	  V# rT   r   r   s   &   r   equal_typesType.equal_types   s\    DII&00Dyy D!++t3T$Z(	  
 r   c                    \         V P                  ,          P                  p. p\         F;  p\         V,          P                  V8  g   K!  VP	                  \        V4      4       K=  	  V# rT   r   r   s   &   r   larger_typesType.larger_types   r   r   )r   r   r   r   r   r   N)ra   rb   rc   rd   r   r   r   rP   r   r   r   r   r   re   rf   rg   s   @r   r}   r}      s8     K #.0D: r   r}   c                   >   a  ] tR t^t o R tR tR tR tR tRt	V t
R# )Arrayc           
         R V P                    RV P                   RV P                   RV P                   RV P                   2
# )zArray(z, z)|arr=)r   dimsintentr   r   rK   s   &r   rP   Array.__repr__   sD    2dii[4;;- @HH:VDHH:/ 	0r   c                   Wn         W n        W0n        \        P                  ! V4      V n        W@n        \        P                  VP                  VP                  W#P                  V4      V n        \        P                  V P                  4      V n        \        V4      ^8  d#   V P                  P!                  R4      '       d    Vf   RV n        RV n        R# VP!                  R4      '       d9   \&        P(                  ! V4      P*                  ! V!  P                  4       V n        Mw\&        P(                  ! \&        P(                  ! WAP,                  R7      P*                  ! V!  V P                  P!                  R4      ;'       d    R;'       g    RR7      V n        V P"                  P/                  V P                  P                  R,          R	7       \        P                  V P"                  4      V n        \        V4      ^8  d#   V P                  P!                  R4      '       d    V P                  ^,          ^8:  d   V P                  ^,          pVP!                  R
4      '       d4   VP0                  V8X  d   VP                  R,          '       g
   VR,          pVP!                  R4      '       d    \3        V P                  \&        P4                  4      '       df   VP                  \7        VP0                  4      P                  8X  d6   VP!                  R4      '       g   V P                  ^,          ^8:  d   R# R# R# R# R# )   r   Ncacher   CF)orderr'   writeinplaceF_CONTIGUOUSi    copy)r   r   r   r   deepcopyobj_copyr   r   callr   r   r   r   r   arr_attrr^   r[   pyarr
pyarr_attrr   arrayreshaper   setflagsr   r   ndarrayr}   )r;   typr   r   r   	arr_flagss   &&&&& r   r=   Array.__init__  sH   		c* 99S\\ ZZ!<<6 ((2t9q={{$$S)) ;DJ"DOG$$#..5::<DJMM2::DA{{,,S199cAAcDJ
 	

$((.."=>**4::6t9q={{$$S)) ==q  MM!$	I&&		S SYY~%>%> I G$$ dhh

++zzT#))_333''//DMM!4D4I4I/ 4 ,r   c                `    VP                   VP                   8w  d   R # W8H  P                  4       # )F)shaperX   )r;   arr1arr2s   &&&r   	arr_equalArray.arr_equalc  s&    ::#!!##r   c                ,    \        V P                  4      # rT   )strr   rK   s   &r   rL   Array.__str__h  s    488}r   c                
   V P                   V P                  J d   R# \        V P                   \        P                  4      '       g   R# \
        P                  V P                   4      pV^ ,          V P                  ^ ,          8H  # )z6Check that created array shares data with input array.TF)r   r   r   r   r   r   r   r   )r;   obj_attrs   & r   has_shared_memoryArray.has_shared_memoryk  sY    88txx$((BJJ//##DHH-{dmmA...r   )	r   r   r   r   r   r   r   r   r   N)ra   rb   rc   rd   rP   r=   r   rL   r   re   rf   rg   s   @r   r   r      s%     0_4B$
/ /r   r   c                   &   a  ] tR tRt o R tRtV tR# )
TestIntentiu  c                    R # rT    rK   s   &r   test_in_outTestIntent.test_in_outv  s    r   r   N)ra   rb   rc   rd   r   re   rf   rg   s   @r   r   r   u  s     - -r   r   c                     a  ] tR tRt o ]P
                  ! RR]R7      ]R 4       4       t]	R 4       t
]	R 4       tR tR	 t]P                  P                  R
RR.4      ]P                  P                  RRR.4      ]P                  P                  RRR.4      R 4       4       4       tR tR tR tR tR tR tR tR tR tR tR tR tR  tR! tR" tR# t R$ t!R% t"R& t#R' t$R(t%V t&R)# )*TestSharedMemoryi  Tclass)autousescopeparamsc                z   a \        SP                  4      SP                  n        V3R  lSP                  n        R# )c                 D   < \        \        SP                  4      WV4      # rT   )r   r}   param)r;   r   r   r   requests   &&&&r   <lambda>-TestSharedMemory.setup_type.<locals>.<lambda>  s    Es=4r   N)r}   r   r   r   r   )r;   r   s   &fr   
setup_typeTestSharedMemory.setup_type  s(      .4r   c                    V P                   P                  P                  R 4      '       d)   V P                   P                  pRV,          RV,          .# ^^.# )r   12r   r   r   r   r;   r   s   & r   num2seqTestSharedMemory.num2seq  sF    99>>$$X..YY%%F&L#,//1vr   c                    V P                   P                  P                  R 4      '       dK   V P                   P                  pRV,          RV,          RV,          .RV,          RV,          RV,          ..# . RO. RO.# )	r   r   r   3456)r         )      r   r   r   s   & r   num23seqTestSharedMemory.num23seq  sm    99>>$$X..YY%%F6\3<v>6\3<v>@ @9%%r   c                ^    V P                  ^.\        P                  V P                  4      pR# )r  N)r   r   r@   r   r;   as   & r   test_in_from_2seq"TestSharedMemory.test_in_from_2seq  s    JJsFJJ5r   c                X   V P                   P                  4        F  p\        P                  ! V P                  VP
                  R 7      pV P                  \        V P                  4      .\        P                  V4      pVP                  V P                   P                  8X  g   K  K  	  R# r   N)
r   r   r   r   r   r   r^   r   r@   r   r;   tr   r  s   &   r   test_in_from_2casttype'TestSharedMemory.test_in_from_2casttype  sl    %%'A((4<<qww7C

C-.

C@Axx499++++ (r   r   wror   r   r   inp2seq23seqc                b   \        V RV,           4      p\        P                  ! W@P                  P                  VR7      pVP                  VR8H  R7       T P                  VP                  VR8H  ;'       d#    \        P                  P                  ;'       g    \        P                  V4      pR# )z5Test if intent(in) array can be passed without copiesnumr   r   r  r   r   N)
r/   r   r   r   r   r   r   r   r@   r   )r;   r   r   r  seqr   r  s   &&&&   r   test_in_nocopyTestSharedMemory.test_in_nocopy  sx    
 dECK(hhs))//?ESL*JJsyy#66&**,,EE6::Mr   c                   \         P                  ! V P                  V P                  P                  R 7      pV P                  \        V P                  4      .\        P                  V4      p V P                  ^.\        P                  P                  V P                  4      p\        R4      h  \         d-   p\        T4      P                  R4      '       g   h  Rp?R# Rp?ii ; i)r   z,intent(inout) should have failed on sequencez6failed to initialize intent(inout|inplace|cache) arrayN)r   r   r   r   r   r^   r   inoutr@   SystemError	TypeErrorr   r   )r;   r   r  msgs   &   r   test_inout_2seq TestSharedMemory.test_inout_2seq  s    hht||499??;JJDLL)*FLL#>	N

A3

 0 0$,,?A LMM  	s8&&LN NN	s   -6B. .C%9!C  C%c                   \         P                  ! V P                  V P                  P                  R R7      p\        V P                  4      \        V P                  ^ ,          4      3pV P                  V\        P                  P                  V4      p\         P                  ! V P                  V P                  P                  RR7      p\        V P                  4      \        V P                  ^ ,          4      3p V P                  V\        P                  P                  V4      p\        R4      h  \         d-   p\        T4      P                  R4      '       g   h  Rp?R# Rp?ii ; i)r   r  r   z2intent(inout) should have failed on improper arrayz(failed to initialize intent(inout) arrayN)r   r   r  r   r   r^   r   r@   r   r!  
ValueErrorr   r   )r;   r   r   r  r#  s   &    r   test_f_inout_23seq#TestSharedMemory.test_f_inout_23seq  s   hht}}DIIOO3GT]]#Sq)9%:;JJufjj..4 hht}}DIIOO3GT]]#Sq)9%:;	F

5&**"2"2C8A DF F  	s8&&>@ @@	s   =+D3 3E*>!E%%E*c                >   \         P                  ! V P                  V P                  P                  R 7      p\        V P                  4      \        V P                  ^ ,          4      3pV P                  V\        P                  P                  P                  V4      pR# r  )
r   r   r  r   r   r^   r   r@   r   r   r;   r   r   r  s   &   r   test_c_inout_23seq#TestSharedMemory.test_c_inout_23seq  s_    hht}}DIIOO<T]]#Sq)9%:;JJufjjll00#6r   c                   V P                   P                  4        Fn  p\        P                  ! V P                  VP
                  R 7      pV P                  \        V P                  4      .\        P                  P                  V4      pKp  	  R# r  )
r   r   r   r   r   r   r^   r   r@   r   r  s   &   r   test_in_copy_from_2casttype,TestSharedMemory.test_in_copy_from_2casttype  sW    %%'A((4<<qww7C

C-.

EA (r   c                    V P                  \        V P                  4      \        V P                  ^ ,          4      .\        P                  V P                  4      pR# r   N)r   r^   r  r   r@   r
  s   & r   test_c_in_from_23seq%TestSharedMemory.test_c_in_from_23seq  s<    JJT]]1%5!67MMr   c                @   V P                   P                  4        F  p\        P                  ! V P                  VP
                  R 7      pV P                  \        V P                  4      \        V P                  ^ ,          4      .\        P                  V4      pK  	  R# r  )	r   r   r   r   r  r   r^   r   r@   r  s   &   r   test_in_from_23casttype(TestSharedMemory.test_in_from_23casttype  sg    %%'A((4==8C

T]]#Sq)9%:;VZZNA (r   c                   V P                   P                  4        F  p\        P                  ! V P                  VP
                  R R7      pV P                  \        V P                  4      \        V P                  ^ ,          4      .\        P                  V4      pVP                  V P                   P                  8X  g   K  K  	  R# r   r  N)
r   r   r   r   r  r   r^   r   r@   r   r  s   &   r   test_f_in_from_23casttype*TestSharedMemory.test_f_in_from_23casttype  s    %%'A((4==sCC

T]]#Sq)9%:;VZZNAxx499++++	 (r   c                   V P                   P                  4        F  p\        P                  ! V P                  VP
                  R 7      pV P                  \        V P                  4      \        V P                  ^ ,          4      .\        P                  P                  V4      pVP                  V P                   P                  8X  g   K  K  	  R# r  )r   r   r   r   r  r   r^   r   r@   r   r   r  s   &   r   test_c_in_from_23casttype*TestSharedMemory.test_c_in_from_23casttype  s    %%'A((4==8C

T]]#Sq)9%:;VZZ\\3PAxx499++++	 (r   c                V   V P                   P                  4        F  p\        P                  ! V P                  VP
                  R R7      pV P                  \        V P                  4      \        V P                  ^ ,          4      .\        P                  P                  V4      pK  	  R# r9  )
r   r   r   r   r  r   r^   r   r@   r   r  s   &   r   test_f_copy_in_from_23casttype/TestSharedMemory.test_f_copy_in_from_23casttype  sm    %%'A((4==sCC

T]]#Sq)9%:;VZZ__A (r   c                h   V P                   P                  4        F  p\        P                  ! V P                  VP
                  R 7      pV P                  \        V P                  4      \        V P                  ^ ,          4      .\        P                  P                  P                  V4      pK  	  R# r  )r   r   r   r   r  r   r^   r   r@   r   r   r  s   &   r   test_c_copy_in_from_23casttype/TestSharedMemory.test_c_copy_in_from_23casttype  sq    %%'A((4==8C

T]]#Sq)9%:;VZZ\\=N=NA (r   c           	        V P                   P                  4        EF  pVP                  V P                   P                  8w  d   K+  \        P                  ! V P
                  VP                  R 7      p\        V P
                  4      3pV P	                  V\        P                  P                  P                  V4      pV P	                  V\        P                  P                  V4      p\        P                  ! V P
                  VP                  RR7      pV P	                  V\        P                  P                  P                  V4      pV P	                  V\        P                  P                  V4      p V P	                  V\        P                  P                  VRRR1,          4      p\        R4      h	  R#   \         d.   p\        T4      P                  R4      '       g   h  Rp?EK  Rp?ii ; i)r   r   r  Nz8intent(cache) should have failed on multisegmented array(failed to initialize intent(cache) array)r   r   r   r   r   r   r   r^   r   r@   r   r   r!  r'  r   r   )r;   r  r   r   r  r#  s   &     r   test_in_cache_from_2casttype-TestSharedMemory.test_in_cache_from_2casttype  sh   $$&Axx499+++((4<<qww7C&)E

5&**,,"4"4c:A 

5&**"2"2C8A ((4<<qwwcBC

5&**,,"4"4c:A 

5&**"2"2C8APJJufjj&6&6DbD	B "NP P3 '(  3x**BD DDs   65F::G2!G--G2c                &   V P                   P                  4        EF6  pVP                  R 8X  d   K  VP                  V P                   P                  8  d   K>  \        P
                  ! VP                  \        P                  4      pV'       dL   \        V P                  ^ ,          4      \        P                  ! VP                  4      P                  8  d   K  \        P                  ! V P                  VP                  R7      p\        V P                  4      3p V P                  V\        P                  P                   V4       \#        R4      h	  R#   \$         d.   p\'        T4      P)                  R4      '       g   h  Rp?EKp  Rp?ii ; i)r   r   z1intent(cache) should have failed on smaller arrayrF  N)r   r   r   r   r   
issubdtyper   integerr   r   iinfomaxr   r^   r   r@   r   r!  r'  r   r   )r;   r  is_intr   r   r#  s   &     r   $test_in_cache_from_2casttype_failure5TestSharedMemory.test_in_cache_from_2casttype_failure*  s   $$&Avv!xx499+++]]177BJJ7F#dll1o.!''1B1F1FF((4<<qww7C&)EI

5&**"2"2C8 "GI I' '  3x**BD DDs   +EF#!FFc                   RpV P                  V\        P                  P                  R4      pRpV P                  V\        P                  P                  R4      pRp V P                  V\        P                  P                  R4      p\	        R4      h  \
         d-   p\        T4      P                  R4      '       g   h  Rp?R# Rp?ii ; i)r  Nz8intent(cache) should have failed on undefined dimensions2failed to create intent(cache|hide)|optional arrayr  r  r  rG  r  )r   r   r   hider!  r'  r   r   r;   r   r  r#  s   &   r   test_cache_hidden"TestSharedMemory.test_cache_hiddenA  s    JJufll//6 JJufll//6 	L

5&,,"3"3T:A JL L  	s8&&HJ JJ	s   +B C!CCc                   RpV P                  V\        P                  R4      pRpV P                  V\        P                  R4      pRpV P                  V\        P                  P                  R4      pRp V P                  V\        P                  R4      p\	        R4      h  \
         d-   p\        T4      P                  R4      '       g   h  Rp?R# Rp?ii ; i)r  Nz7intent(hide) should have failed on undefined dimensionsrS  rT  rU  rV  )r   r   rW  r   r!  r'  r   r   rX  s   &   r   test_hiddenTestSharedMemory.test_hiddenU  s    JJufkk40 JJufkk40
 JJufhhmmT2
 	K

5&++t4A IK K  	s8&&HJ JJ	s   7!B# #C.!CCc                    RpV P                  V\        P                  R4      pRpV P                  V\        P                  R4      pRpV P                  V\        P                  P                  R4      pR# )r  NrT  rU  )r   r   r6   r   )r;   r   r  s   &  r   test_optional_none#TestSharedMemory.test_optional_noner  s]    JJufoot4 JJufoot4
 JJufhh//6r   c                x    V P                   p\        V4      3pV P                  V\        P                  V4      pR # rT   )r   r^   r   r   r6   r+  s   &   r   test_optional_from_2seq(TestSharedMemory.test_optional_from_2seq  s,    llSJJufoos3r   c                    V P                   p\        V4      \        V^ ,          4      3pV P                  V\        P                  V4      pV P                  V\        P                  P
                  V4      pR# r2  )r  r^   r   r   r6   r   r+  s   &   r   test_optional_from_23seq)TestSharedMemory.test_optional_from_23seq  sU    mmS3s1v;'JJufoos3 JJufoo//5r   c                z   \         P                  ! V P                  V P                  P                  R 7      pVP
                  pV P                  V\        P                  V4      pV P                  P                  \        8w  d   ^6MRpWCP                  ^,          ^&   \        P                  VP                  4      pR# )r   FN)r   r   r  r   r   r   r   r   boolr   r   resolve_write_back_if_copy)r;   r   r   r  change_itemcodes   &     r   test_inplaceTestSharedMemory.test_inplace  sz    hht}}DIIOO<		JJufnnc2 !IIOOt3b!a ..quu5r   c                    \         P                  ! V P                  V P                  P                  R R7      pV P                  VP
                  \        P                  V4      pR# r9  )r   r   r  r   r   r   r   r   )r;   r   r  s   &  r   test_inplace_f_order%TestSharedMemory.test_inplace_f_order  s:    hht}}DIIOO3GJJsyy&..#6r   c                   V P                   P                  4        EF$  pWP                   J d   K  \        P                  ! V P                  VP
                  R 7      pVP                  pVP
                  P                  V P                   P
                  P                  8H  p V P                  V\        P                  V4      pT'       g    \        P                  TP                  4       T P                   P
                  \        8w  d   ^6MRpYuP                  ^,          ^&   \        P                  TP                  4      pEK'  	  R#   \         d   p Rp? R# Rp?ii ; i)r   NF)r   r   r   r   r  r   r   kindr   r   r'  r   ri  r   rh  )	r;   r  r   r   	same_kindr  excrj  rk  s	   &        r   test_inplace_from_casttype+TestSharedMemory.test_inplace_from_casttype  s    %%'AII~((4==8C IIE		$))//*>*>>IJJufnnc: //6 !%		4 7"UK%EE!HQK 221559DA (   s    !EEEr   N)'ra   rb   rc   rd   pytestfixturer   classmethodr   propertyr   r  r  r  markparametrizer  r$  r(  r,  r/  r3  r6  r:  r=  r@  rC  rH  rP  rY  r\  r_  rb  re  rl  ro  ru  re   rf   rg   s   @r   r   r     s4    ^^DD4  E4
   & &)1 [[WsDk2[[WsCj1[[UVW$56% 7 2 3%NF$%-)-11--P:I.L(K:H$)	)D0'8 '8r   r   r   )ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   r   )ro   rt   ru   )win32aix)Darwinarm)ry   rz   r{   )rq   rt   ru   ry   )rv   rz   r{   )&r   platformsyspathlibr   rw  numpyr   numpy._core._type_aliasesr   _c_names_dict r   r{  slow
pytestmarkr   dictr   r   r   r   r   r4   r   r   r   intpr   clongdoubler   system	processorextendr}   r   r   r   r   r   r   <module>r     s     
    C [[
  hhsm)N
.N N< 
( vh
'6(2
6  (G94
7 X
6 i
7  (GW+==
7 !'*fh-??
8 w'8U*;;
5 )Wf,==
6 &&1
6  (G94
7 #F+zl:
: $W-=
;  )Xw,??
7 !%(+FF
8 !'*hZ7
8 "
9 "
9 &-
;  WWY__"bnn&6&<&<&F&F!&KLL 00__ 2 2 459JJ?@)&1 5  J| !+< 8 < !J}
 'x0Hi3HHJyN Nbv/ v/r- -]8 ]8r   