+
    yȇi"              	        a 0 t $ ^ RIHt ^ RIHt ^ RIt^ RIt^ RIt	^ RI
Ht ]P                   U u. uF  p ]	P                  . ROV R7      NK  	  up t^.]! ]4      ,          tR]R&   ]]P&                   U u. uF  p ]	P                  . ROV R7      NK  	  up ,          t]RR.,          t]]	P                  ! . ROR
R7      .,          t]R	.,          t]P(                  ! ]! ]]RR7      ] Uu. uF  qP,                  P.                  NK  	  upR7      R 4       tR tR tR tR tR tR tR tR t R t!]PD                  PG                  R. RO4      R 4       t$]PD                  PG                  R. RO4      R 4       t%R# u up i u up i u upi )     )annotations)AnyNdtypez	list[Any]scalars皙?TFboolean)strict)paramsidsc                    V P                   # )zFixture returning parametrized (array, scalar) tuple.

Used to test equivalence of scalars, numpy arrays with array ops, and the
equivalence of DataFrame and Series ops.
)param)requests   &z/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/arrays/masked/test_arithmetic.pydatar      s     ==    c                    \        V P                  \        P                  4      '       d"   R V9   d   \        P
                  ! R4       R# R# R# )subz$subtract not implemented for booleanN)
isinstancer   pdBooleanDtypepytestskipr   op_names   &&r   
check_skipr   "   s4    $**boo..5G3C:; 4D.r   c                    V P                   P                  R 8H  ;'       d$    VP                  R4      P                  R4      R9   # )b_r)powtruedivfloordiv)r   kindstriplstripr   s   &&r   is_bool_not_implementedr'   '   sB    ::??c!  gmmC&8&?&?&D I ' r   c                   V w  r\         P                  ! V4      p\        W4       \        P                  ! V.\        V 4      ,          V P                  R 7      pW P                  P                  V4      3 F  p\        W4      '       do   Rp\        P                  ! \        VR7      ;_uu_ 4        V! W4       RRR4       \        P                  ! \        VR7      ;_uu_ 4        V! W4       RRR4       K  V! W4      pV! W4      p\         P                  ! Wx4       K  	  R#   + '       g   i     Ls; i  + '       g   i     K  ; ir   -operator '.*' not implemented for bool dtypesmatchN)tmget_op_from_namer   r   arraylenr   typer'   r   raisesNotImplementedErrorassert_extension_array_equal)	r   all_arithmetic_operatorsscalaropscalar_arrayvalmsgresultexpecteds	   &&       r   "test_array_scalar_like_equivalencer=   4   s    LD			5	6Bt.88VHs4y0

CL 

/0"4BBAC2#>>4 ?2#>>4& ?> ]F$-H++F= 1 ?>>>>s   /	D#$	D6#D36Ec                   V w  r\         P                  ! V4      p\        W4       \        P                  p\        P
                  ! \        P                  .\        V 4      ,          V P                  R 7      pV P                  P                  4       p\        W4      '       dZ   Rp\        P                  ! \        VR7      ;_uu_ 4        V! W4       RRR4       \         P                  ! W`P                  4       R# V! W4      p\         P                  ! W`P                  4       V! W4      p	\         P                  ! W`P                  4       \         P                  ! W4       R#   + '       g   i     L; ir)   )r-   r.   r   r   NAr/   r0   r   _maskcopyr'   r   r2   r3   assert_numpy_array_equalr4   )
r   r5   r   r7   r6   r8   maskr:   r;   r<   s
   &&        r   test_array_NArD   I   s    GD			5	6Bt.UUF88RUUGc$i/tzzBL::??Dt>>=]].c::t ; 	##D**5Fjj1$%Hjj1##F5 ;:s   	E##E3	c                   V w  r\         P                  ! V4      p\        W4       \        P                  ! V.\        V 4      ,          V P                  P                  R 7      p\        P                  ! W@P                  R 7      p\        W4      '       do   Rp\        P                  ! \        VR7      ;_uu_ 4        V! W4       RRR4       \        P                  ! \        VR7      ;_uu_ 4        V! W4       RRR4       R# V! W4      pV! W4      p\         P                  ! Wx4       R#   + '       g   i     Lo; i  + '       g   i     R# ; ir)   )r-   r.   r   npr/   r0   r   numpy_dtyper   r'   r   r2   r3   r4   )	r   r5   r6   r7   numpy_arraypd_arrayr:   r;   r<   s	   &&       r   test_numpy_array_equivalencerJ   e   s    LD			5	6Bt.((F8c$i/tzz7M7MNKxx::6Ht>>=]].c::t! ;]].c::t ;"F$!H##F5 ;:::s   ;	D+0	D>+D;	>E	c                D   V w  r\         P                  ! V4      p\        W4       \        P                  ! R V /4      p\        W4      '       do   Rp\        P                  ! \        VR7      ;_uu_ 4        V! WB4       RRR4       \        P                  ! \        VR7      ;_uu_ 4        V! W4       RRR4       R# V! WB4      p\        P                  ! R V! W4      /4      p\         P                  ! Wg4       R#   + '       g   i     L; i  + '       g   i     R# ; i)Ar*   r+   N)
r-   r.   r   r   	DataFramer'   r   r2   r3   assert_frame_equal)r   r5   r6   r7   dfr:   r;   r<   s   &&      r   
test_framerP   ~   s    LD			5	6Bt. 
sDk	"Bt>>=]].c::rN ;]].c::t ;^F||S"T"234H&+ ;:::s   5	C;*	D;D	D	c           	        V w  r\         P                  ! V4      p\        W4       \        P                  ! V 4      pV\
        P                  ! V.\        V 4      ,          V P                  P                  R 7      \        P                  ! V.\        V 4      ,          V P                  R 7      \        P                  ! V.\        V 4      ,          V P                  R 7      .pV F  p\        W4      '       d:   Rp\        P                  ! \        VR7      ;_uu_ 4        V! WF4       RRR4       KM  V! WF4      p\        P                  ! V! W4      4      p	\         P                  ! W4       K  	  R#   + '       g   i     K  ; ir)   )r-   r.   r   r   SeriesrF   r/   r0   r   rG   r'   r   r2   r3   assert_series_equal)
r   r5   r6   r7   serothersotherr:   r;   r<   s
   &&        r   test_seriesrW      s   LD			5	6Bt.
))D/C 	
&CI%TZZ-C-CD
&CI%TZZ8
		6(SY&djj9	F "4BBAC2#>>3 ?> ^FyyD1H""64  ?>>s   	E..E?c           
     ~   V w  rTp\        W4      pV! \        P                  ! R V /4      4      pV\        J g   Q hRp\        P
                  ! \        VR7      ;_uu_ 4        V! \        P                  ! \        V 4      4      P                  R\        V 4      4      4       RRR4       R#   + '       g   i     R# ; i)rL   z(can only perform ops with 1-d structuresr+   N)getattrr   rM   NotImplementedr   r2   r3   rF   aranger0   reshape)r   r5   r   r7   opar;   r:   s   &&     r   test_error_invalid_objectr_      s    GD	!B
$
C sDk*+F^###
5C	*#	6	6BIIc$i ((SY78 
7	6	6	6s   "?B++B<	c                   V w  r\         P                  ! V4      pV.\        V 4      ^,
          ,          p\        pRP	                  RR.4      pV P
                  P                  R8X  d    VP                  R4      R
9   d
   \        pRpM\        W4      '       d	   Rp\        pV\        P                  ! V4      3 Fy  p\        P                  ! WVR7      ;_uu_ 4        V! W4       R	R	R	4       \        P                   ! V 4      p\        P                  ! WVR7      ;_uu_ 4        V! W4       R	R	R	4       K{  	  R	#   + '       g   i     L\; i  + '       g   i     K  ; i)   |zBoperands could not be broadcast together with shapes \(3,\) \(4,\)zBoperands could not be broadcast together with shapes \(4,\) \(3,\)r   r   znumpy boolean subtract, the `\-` operator, is not supported, use the bitwise_xor, the `\^` operator, or the logical_xor function insteadr*   r+   N)r   rsub)r-   r.   r0   
ValueErrorjoinr   r$   r%   	TypeErrorr'   r3   rF   r/   r   r2   r   rR   )	r   r5   r6   r7   rV   errr:   r9   ss	   &&       r   test_error_len_mismatchri      s   LD			5	6BHD	A&E
C
((QQ	
C zz#":"@"@"E J # W 	 
!	@	@=!rxx']]3**tM + IIdO]]3**qJ +* (** +**s   	D8!	E8EEr7   c                   V w  r\         P                  ! V 4      pVR 8X  d   V P                  P                  R8X  d   Rp\        P
                  ! \        VR7      ;_uu_ 4        \        W14      ! 4        RRR4       \        P
                  ! \        VR7      ;_uu_ 4        \        W4      ! 4        RRR4       \        P
                  ! \        VR7      ;_uu_ 4        \        V P                  V4      ! 4        RRR4       R# \        W14      ! 4       pVP                  RR7      pRV^ &   \        P                  ! WV4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     R# ; i)
__invert__fz0ufunc 'invert' not supported for the input typesr+   NT)deep)r   rR   r   r$   r   r2   rf   rZ   _datarA   r-   rS   )r   r7   r   rT   r:   r;   r<   s   &&     r   %test_unary_op_does_not_propagate_maskro      s     GD
))D/C	\djjoo4@]]9C00C 1]]9C00D 1]]9C00DJJ#% 1 	SF{{{%HCF6, 100000 	s$   #E EE(E	E%	(E9	r   c                T   \         P                  ! . ROV R7      p\        \         P                  V4      p\	        V\
        4      '       d   \        V4      ^8X  g   Q h\         P                  ! \         P                  \         P                  \         P                  .V R7      p\        P                  ! V^ ,          V4       \        P                  ! V^,          V4       \        P                  ! V^ ,          \         P                  V,          4       \        P                  ! V^,          \         P                  V,          4       \        V\         P                  4      p\	        V\
        4      '       d   \        V4      ^8X  g   Q h\        P                  ! V^ ,          V4       \        P                  ! V^,          V4       \        P                  ! V^ ,          V\         P                  ,          4       \        P                  ! V^,          V\         P                  ,          4       R# )ra   r   N)ra         )	r   rR   divmodr?   r   tupler0   r-   rS   )r   rT   resexps   &   r   test_divmod_pdnarw      sQ    ))IU
+C

Cc5!!c#h!m33
))RUUBEE255)
7C3q63'3q63'3q6255C<03q62553;/
bee
Cc5!!c#h!m333q63'3q63'3q63"%%<03q63;/r   )ra   rq   rr   N)g?r   g333333?N)TFTN)__neg____abs__rk   )Int64Int32Float32Float64)&__conditional_annotations__
__future__r   typingr   numpyrF   r   pandasr   pandas._testing_testingr-   ALL_INT_EA_DTYPESr/   arraysr0   r   __annotations__FLOAT_EA_DTYPESfixturezipr   namer   r   r'   r=   rD   rJ   rP   rW   r_   ri   markparametrizero   rw   )r   ar~   s   00@r   <module>r      s   " "      ?A>R>R	S>RU"((?%(
0>R	SS3v;& & REWEW
XEWE288)87EW
X X C:  288-Y?
@ @ E7  vwt,2PA77<<2P<
>*6862,*5<9!H CD- E-0 "JK0 L0e 
T Y 3Qs   E;6F *F
