+
    xȇi>                     H	   ^ RI t^ RIt^ RIt^ RIHtHtHt ^ RIH	t
 R tR tR t]P                  P                  R]! ^4      ]! R4      ]! R4      .4      R	 4       t]P                  P                  R
]! ^4      ]! ^^4      3]! R4      ]! R4      3]! R4      ]! R4      3]! R4      ]! R4      3]! ^4      ]! ^4      3.4      R 4       t]P                  P                  RRR/R. RKO/RR/.4      R 4       t]P                  P                  R
RLRM.4      ]P                  P                  R. RNO4      R 4       4       t]P                  P                  R]! RR.^^.R7      ]! RR.RR.R7      R3]P,                  ! R^^.R R!R".R#RR./RR .R7      P.                  ]P,                  ! RRR.R R!R".R#RR./RR .R7      P.                  R$3.4      R% 4       t]P                  P                  R&R'R(.4      R) 4       t]P                  P                  R*R'R(.4      R+ 4       tR, tR- tR. tR/ tR0 tR1 t R2 t!R3 t"R4 t#R5 t$R6 t%R7 t&R8 t'R9 t(R: t)]P                  P                  RR;R<.4      R= 4       t*]P                  P                  RR>R?.4      R@ 4       t+]P                  P                  RR],.4      ]P                  P                  RAR'R(.4      ]P                  P                  RB^RC.4      RD 4       4       4       t-RE t.]P                  P                  RF]P^                  ! . ROO4      ]P^                  ! ]P`                  ! ^ ^^4      4      3]Pb                  Pe                  . RPO. ROO.4      ]Pb                  Pe                  . RPO]P`                  ! ^ ^^4      .4      3]Pb                  Pe                  . RQO. RRO.4      ]Pb                  Pe                  . RQO. RSO.4      3]Pf                  ! ]P^                  ! . RRO4      ]P^                  ! . RSO4      ]P                  Pi                  RGRH7      RI7      ]Pf                  ! ]Pb                  Pe                  . RPO. RRO.4      ]Pb                  Pe                  . RPO. RSO.4      ]P                  Pi                  RGRH7      RI7      .4      RJ 4       t5R# )T    N)Categorical	DataFrameSeriesc                b    \         P                  ! W3/ VB  \         P                  ! W3/ VB  R# )z
Check that two Series equal.

This check is performed commutatively.

Parameters
----------
a : Series
    The first Series to compare.
b : Series
    The second Series to compare.
kwargs : dict
    The arguments passed to `tm.assert_series_equal`.
N)tmassert_series_equalabkwargss   &&,z/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/util/test_assert_series_equal.py_assert_series_equal_bothr      s*     1*6*1*6*    c                     \         P                  ! W3/ VB  Rp\        P                  ! VR7       R#   \         d     R# i ; i)z
Check that two Series are not equal.

Parameters
----------
a : Series
    The first Series to compare.
b : Series
    The second Series to compare.
kwargs : dict
    The arguments passed to `tm.assert_series_equal`.
z7The two Series were equal when they shouldn't have been)msgN)r   r   pytestfailAssertionError)r
   r   r   r   s   &&, r   _assert_not_series_equalr       s=    
q.v.G s   04 AAc                6    \        W3/ VB  \        W3/ VB  R# )a  
Check that two Series are not equal.

This check is performed commutatively.

Parameters
----------
a : Series
    The first Series to compare.
b : Series
    The second Series to compare.
kwargs : dict
    The arguments passed to `tm.assert_series_equal`.
N)r   r	   s   &&,r   _assert_not_series_equal_bothr   6   s     Q,V,Q,V,r   dataabcu   áàäc                 B    \        \        V 4      \        V 4      4       R # N)r   r   )r   s   &r   test_series_equalr   I   s    fTlF4L9r   zdata1,data2xyzu   éèës   aaac                 B    \        \        V 4      \        V4      4       R # r   )r   r   )data1data2s   &&r   $test_series_not_equal_value_mismatchr!   N   s     "&-?r   r   dtypefloat64indexnamefooc                 `    \        ^4      p\        V4      p\        V3/ V B p\        W#4       R# )   N)ranger   r   )r   r   s1s2s   &   r   'test_series_not_equal_metadata_mismatchr,   \   s-     8D	B			B!")r   decimalsc                 n   ^
V) ,          p\        V .VR7      p\        V.VR7      pVR9   g   V^8  d`   \        W,
          4      R8  dJ   Rp\        P                  ! \        VR7      ;_uu_ 4        \
        P                  ! WVVR7       RRR4       R# \        WVVR7       R#   + '       g   i     R# ; i)
   r"   gMb@?zSeries values are differentmatchrtolN)   r/   )r   absr   raisesr   r   r   r   )r   r    any_float_dtyper-   r4   r*   r+   r   s   &&&&    r   test_less_preciser9   l   s     y=D		/B		/B7x1}U]1Cv1M+]]>55""25 65 	""t4 655s   1B##B4	z	s1,s2,msgl1l2r$   g      ?g       @zSeries\.index are differentr
   r   g @      ?cz'Series\.index level \[0\] are differentc                     R V/pV'       dG   \         P                  ! \        VR7      ;_uu_ 4        \        P                  ! W3/ VB  RRR4       R# \        P                  ! W3/ VB  R#   + '       g   i     R# ; i)check_index_typer1   N)r   r7   r   r   r   )r*   r+   r   r@   r   s   &&&& r   test_series_equal_index_dtyperA   {   s_    , !"23F]]>55""24V4 65 	r00 655s   A,,A=	
check_likeTFc                 *   \        . RO. ROR7      p\        . RO. R	OR7      pV '       gH   \        P                  ! \        RR7      ;_uu_ 4        \        P
                  ! WV R7       RRR4       R# \        WV R7       R#   + '       g   i     R# ; i)
   r<   Series.index are differentr1   )rB   NrD      r(   r
   r   r>   )r(   rG   rD   r>   r   r
   r   r   r7   r   r   r   r   )rB   r*   r+   s   &  r    test_series_equal_order_mismatchrK      sa    			1B			1B]]>1MNN""2jA ON 	""Z@ ONN   BB	check_indexc                 *   \        . RO. ROR7      p\        . RO. ROR7      pV '       dH   \        P                  ! \        RR7      ;_uu_ 4        \        P
                  ! WV R7       RRR4       R# \        WV R7       R#   + '       g   i     R# ; i)	rD   r<   rE   r1   )rM   NrF   rH   rI   rJ   )rM   r*   r+   s   &  r    test_series_equal_index_mismatchrO      sa    			1B			1B]]>1MNN""2{C ON 	""kB ONNrL   c            	          \        \        R 7      p \        \        R 7      p\        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! WRRR7       RRR4       R#   + '       g   i     R# ; i)r0   z0check_like must be False if check_index is Falser1   FT)rM   rB   N)r   objectr   r7   
ValueErrorr   r   leftrights     r   %test_series_invalid_param_combinationrV      sV    D E	L
 
 	t$O
 
 
 
s   A))A:	c                     R p\        . RO4      p\        . RO4      p\        P                  ! \        VR7      ;_uu_ 4        \        P
                  ! W#V R7       RRR4       R#   + '       g   i     R# ; i)zSeries are different

Series length are different
\[left\]:  3, RangeIndex\(start=0, stop=3, step=1\)
\[right\]: 4, RangeIndex\(start=0, stop=4, step=1\)r1   r3   NrF   )rD   rG   r(      r   r   r7   r   r   r   r4   r   r*   r+   s   &   r   !test_series_equal_length_mismatchr[      sO    ;C 
		B		B	~S	1	1
rD1 
2	1	1	1   A$$A5	c                     R p\        . RO4      p\        . RO4      p\        P                  ! \        VR7      ;_uu_ 4        \        P
                  ! W#V R7       RRR4       R#   + '       g   i     R# ; i)zSeries are different

Series values are different \(33\.33333 %\)
\[index\]: \[0, 1, 2\]
\[left\]:  \[1, 2, 3\]
\[right\]: \[1, 2, 4\]r1   r3   NrF   rD   rG   rX   rY   rZ   s   &   r   )test_series_equal_numeric_values_mismatchr_      sO    C 
		B			B	~S	1	1
rD1 
2	1	1	1r\   c                 :   V'       d   R MRpRV RV R2p\        \        . RO4      4      p\        \        . R	O4      4      p\        P                  ! \        VR7      ;_uu_ 4        \
        P                  ! WEV R7       RRR4       R#   + '       g   i     R# ; i)
strrQ   zSeries are different

Series values are different \(66\.66667 %\)
\[index\]: \[0, 1, 2\]
\[left\]:  \['a', 'b', 'c'\]
Categories \(3, zC\): \['a', 'b', 'c'\]
\[right\]: \['a', 'c', 'b'\]
Categories \(3, z\): \['a', 'b', 'c'\]r1   r3   NrH   )r
   r>   r   )r   r   r   r7   r   r   r   )r4   using_infer_stringr"   r   r*   r+   s   &&    r   -test_series_equal_categorical_values_mismatchrc      s{    'EXE
  04C 
O,	-B	O,	-B	~S	1	1
rD1 
2	1	1	1s   &B		B	c           	      H   R p\        \        P                  ! R^RRR7      4      p\        \        P                  ! R^RRR7      4      p\        P                  ! \
        VR7      ;_uu_ 4        \        P                  ! W#V R7       RRR4       R#   + '       g   i     R# ; i)	zSeries are different

Series values are different \(100.0 %\)
\[index\]: \[0, 1, 2\]
\[left\]:  \[1514764800000000000, 1514851200000000000, 1514937600000000000\]
\[right\]: \[1549065600000000000, 1549152000000000000, 1549238400000000000\]z
2018-01-01Dns)periodsfrequnitz
2019-02-02r1   r3   N)r   pd
date_ranger   r7   r   r   r   rZ   s   &   r   *test_series_equal_datetime_values_mismatchrl      sn    TC 
lACdK	LB	lACdK	LB	~S	1	1
rD1 
2	1	1	1s   -BB!	c                    V'       d   R pMRpRV RV R2p\        \        RR.4      4      p\        \        RR.\        R4      R7      4      pV '       dH   \        P                  ! \
        VR	7      ;_uu_ 4        \        P                  ! WEV R
7       RRR4       R# \        WEV R
7       R#   + '       g   i     R# ; i)ra   rQ   zAttributes of Series are different

Attribute "dtype" are different
\[left\]:  CategoricalDtype\(categories=\['a', 'b'\], ordered=False, categories_dtype=z^\)
\[right\]: CategoricalDtype\(categories=\['a', 'b', 'c'\], ordered=False, categories_dtype=z\)r
   r   r   )
categoriesr1   )check_categoricalN)	r   r   listr   r7   r   r   r   r   )ro   rb   r"   r   r*   r+   s   &&    r   &test_series_equal_categorical_mismatchrq      s      !!&s.C 
S#J'	(B	S#J4;?	@B]]>55""2=NO 65 	""<MN 655s   :B,,B=	c                  \   \        \        P                  ! . R	ORR7      4      p V P                  \        4      pRp\
        P                  ! WRR7       \        P                  ! \        VR7      ;_uu_ 4        \
        P                  ! WRR7       RRR4       R#   + '       g   i     R# ; i)
rD   Int64r0   zjAttributes of Series are different

Attribute "dtype" are different
\[left\]:  Int64
\[right\]: int[32|64]Fcheck_dtyper1   TNrF   )
r   rj   arrayastypeintr   r   r   r7   r   rT   rU   r   s      r   1test_assert_series_equal_extension_dtype_mismatchrz     sn    "((9G45DKKEC 4E:	~S	1	1
t= 
2	1	1	1   7BB+	c                  \   \        \        P                  ! ^ ^4      .RR7      p V P                  \        4      pRp\
        P                  ! WRR7       \        P                  ! \        VR7      ;_uu_ 4        \
        P                  ! WRR7       RRR4       R#   + '       g   i     R# ; i)	r   intervalr0   zyAttributes of Series are different

Attribute "dtype" are different
\[left\]:  interval\[int64, right\]
\[right\]: objectFrt   r1   TN)
r   rj   Intervalrw   rQ   r   r   r   r7   r   ry   s      r   0test_assert_series_equal_interval_dtype_mismatchr   !  ss    2;;q!$%Z8DKKEC 4E:	~S	1	1
t= 
2	1	1	1r{   c                      ! R  R\         4      p \        ^^.4      p\        ^^.4      pV ! ^^.4      p\        P                  ! WRR7       \        P                  ! WRR7       \        P                  ! WRR7       \        P                  ! W1RR7       \        P                  ! \
        RR7      ;_uu_ 4        \        P                  ! WRR7       RRR4       \        P                  ! \
        RR7      ;_uu_ 4        \        P                  ! W1RR7       RRR4       R#   + '       g   i     LW; i  + '       g   i     R# ; i)c                       ] tR tRtRtR# )/test_series_equal_series_type.<locals>.MySeriesi3   N)__name__
__module____qualname____firstlineno____static_attributes__r   r   r   MySeriesr   3  s    r   r   F)check_series_typeTzSeries classes are differentr1   Nr   r   r   r   r7   r   )r   r*   r+   s3s       r   test_series_equal_series_typer   2  s    6  
AB	AB	1a&	B2U;2T:2U;2U;	~-K	L	L
r> 
M 
~-K	L	L
r> 
M	L 
M	L 
M	L	Ls   8D =D3 D0	3E	c                     \        R R.4      p \        R R.4      p\        RR .4      p\        P                  ! WRR7       \        P                  ! WRR7       Rp\        P                  ! \
        VR7      ;_uu_ 4        \        P                  ! WRR7       RRR4       Rp\        P                  ! \
        VR7      ;_uu_ 4        \        P                  ! W RR7       RRR4       R#   + '       g   i     LY; i  + '       g   i     R# ; i)r
   r   Tcheck_exactzzSeries are different

Series values are different \(100\.0 %\)
\[index\]: \[0, 1\]
\[left\]:  \[a, b\]
\[right\]: \[b, a\]r1   NzzSeries are different

Series values are different \(100\.0 %\)
\[index\]: \[0, 1\]
\[left\]:  \[b, a\]
\[right\]: \[a, b\]r   )r*   r+   r   r   s       r   &test_series_equal_exact_for_nonnumericr   G  s    	c
	B	c
	B	c
	B2t42t4C 
~S	1	1
r48 
2C 
~S	1	1
r48 
2	1 
2	1 
2	1	1s   >C(C;(C8	;D	c                  r    \        . RORR7      p \        . RORR7      p\        P                  ! WRR7       R# )rD   rs   r0   Int32Frt   NrF   r   r   r   rS   s     r   8test_assert_series_equal_ignore_extension_dtype_mismatchr   c  *    )7+D9G,E4E:r   c                  r    \        . RORR7      p \        . RORR7      p\        P                  ! WRR7       R# )rD   rs   r0   int64Frt   NrF   r   rS   s     r   Dtest_assert_series_equal_ignore_extension_dtype_mismatch_cross_classr   j  r   r   c                  h   \        ^.4      p \        ^.4      P                  RR7      p\        P                  ! W 4       \        P                  ! W4       \        P                  ! WRR7       \        P                  ! WRR7       \        P
                  ! \        RR7      ;_uu_ 4        \        P                  ! W4       RRR4       \        P
                  ! \        RR7      ;_uu_ 4        \        P                  ! W4       RRR4       R#   + '       g   i     LU; i  + '       g   i     R# ; i)rD   F)allows_duplicate_labels)check_flagsz<Flagsr1   N)r   	set_flagsr   r   r   r7   r   rS   s     r   test_allows_duplicate_labelsr   q  s    1#;DA3K!!%!@E4&5(4E:5E:	~X	6	6
t+ 
7 
~X	6	6
t+ 
7	6 
7	6 
7	6	6s   )D,D D	 D1	c                     \        V .4      p\        P                  ! WP                  4       4       \        P
                  ! V4      p\        P                  ! W"P                  R R7      4       R# )T)deepN)r   r   r   copyrj   Indexassert_index_equal)nulls_fixtureseridxs   &  r   %test_assert_series_equal_identical_nar     sJ    
-
!C3
+ ((3-C#xxTx23r   c            	      R   \        ^ RR\        P                  ! RR.4      .4      p \        ^ RR\        P                  ! RR.4      .4      p\        P                  ! W 4       \        P                  ! W RR7       \        P                  ! W4       \        P                  ! WRR7       R# )r   g=ۊ?g߷>g	ﰴ9?g?Tr   N)r   nprv   r   r   )xys     r   %test_identical_nested_series_is_equalr     s    HH(*<=>		
	A 	HH(*<=>		
	A 1 1T21 1T2r   
datetime64timedelta64c                    \        . R	O4      P                  V  R24      pVP                  V  R24      p\        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! W4       RRR4       \
        P                  ! W!RR7       V\        . R
O4      P                  V  R24      ,          p\        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! W4       RRR4       \        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! WRR7       RRR4       R#   + '       g   i     L; i  + '       g   i     Lj; i  + '       g   i     R# ; i)C z[s]z[ms]z"Attributes of Series are differentr1   NFrt   Series are different)r   i   iK3E)rD   rD   rD   )r   rw   r   r7   r   r   r   )r"   ser_sser_mss   &  r   %test_check_dtype_false_different_resor     s     /0775'FE\\UG4.)F	~-Q	R	R
u- 
S6e<
fY&&%~66F	~-C	D	D
u- 
E 
~-C	D	D
u%@ 
E	D 
S	R 
E	D 
E	D	Ds$   D?EE%?E	E"	%E6	rs   r   c                     \        R .V R7      p\        R.V R7      p\        P                  ! \        RR7      ;_uu_ 4        \        P
                  ! W4       RRR4       R#   + '       g   i     R# ; i)l   ?&l, r0   l   ?&l, r   r1   NrY   )r"   rT   rU   s   &  r   test_large_unequal_intsr     sT     #$E2D$%U3E	~-C	D	D
t+ 
E	D	D	Ds   A""A3	r   valg      @c                     \        ^^V .VR7      p\        \        P                  ! ^^V .4      4      p\        P                  ! W4RVR7       R# )rD   r0   F)ru   r   N)r   rj   rv   r   r   )r   r   r"   rT   rU   s   &&&  r    test_ea_and_numpy_no_dtype_checkr     sA    
 1a+U+D288Q3K()E4E{Sr   c                  j   \        . RO4      p \        . RO4      p\        P                  ! WRR7       \        P                  ! V P	                  4       VP	                  4       RR7       \        P
                  ! V P                  R4      P                  VP                  R4      P                  RR7       R# )Q   r=   r3   rs   N)r      y   &   J   H   r   r      r   r      r   r   )r   	   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   r   assert_frame_equalto_frameassert_extension_array_equalrw   valuesrS   s     r    test_assert_series_equal_int_tolr     sz    MNDJKE4S1$--/5>>+;#F##G##U\\'%:%A%Ar   zleft_idx, right_idxz"check_exact_index defaults to True)reason)marksc                 0   \        \        P                  ! ^\        R7      V 4      p\        \        P                  ! ^\        R7      V4      p\        P
                  ! W#4       \        P                  ! VP                  4       VP                  4       4       R# )   r0   N)r   r   zerosrx   r   r   r   r   )left_idx	right_idxser1ser2s   &&  r   2test_assert_series_equal_check_exact_index_defaultr     s]    J "((1C((3D"((1C()4D4&$--/4==?;r   r^   )g|Pk?g9]?)gV-?g??)r   rD   rG   r(   r5   r/   )r   g?g?g333333?g?rD   )r   r   r   r   rD   rD   )r
   r
   r
   r   r   r   )rD   rG   r(   rX   r5   l    a$)rD   rG   r(   rX   r5   l    a$)6numpyr   r   pandasrj   r   r   r   pandas._testing_testingr   r   r   r   markparametrizer)   rp   r   r!   r,   r9   from_recordsr>   rA   rK   rO   rV   r[   r_   rc   rl   rq   rz   r   r   r   r   r   r   r   r   r   r   rQ   r   r   r   linspace
MultiIndexfrom_arraysparamxfailr   r   r   r   <module>r      s      
 +&,-& %(DKh!HI: J: 	q5A;	ed5k"	hh(	hf&	q58	@	@ 	)	)	** );=M(NO%89
5 : P
5  D$<1v.D$<Sz2*	
 ""q!fcC:sT4LA#sa""sCj#Sz3tEcSVZa8	
*1+*1 e}5A 6A u6C 7CP222$2O.>">"?*98;;,434 <"?@A AA" 7G"45, 6, 4.1u6C)T * 7 2T	  HH/0HHR[[Aq)*	

 MM%%'9;U&VWMM%%'92;;q!Q;O&PQ	

 MM%%/1PQ MM%%/1PQ		
 	HH45HH45++##+O#P	

 	MM%%#%DE MM%%#%DE ++##+O#P	
-"F<G"F<r   